a tool for shared writing and social publishing
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix passdown prop

+3 -3
+3 -3
components/Input.tsx
··· 68 68 } & JSX.IntrinsicElements["input"] & 69 69 JSX.IntrinsicElements["textarea"], 70 70 ) => { 71 - let { label, ...inputProps } = props; 72 - let style = `appearance-none w-full font-normal bg-transparent text-base text-primary focus:outline-0 ${props.className}`; 71 + let { label, textarea, ...inputProps } = props; 72 + let style = `appearance-none w-full font-normal bg-transparent text-base text-primary focus:outline-0 ${props.className} outline-none resize-none`; 73 73 return ( 74 74 <label className=" input-with-border flex flex-col text-sm text-tertiary font-bold italic leading-tight !py-1 !px-[6px]"> 75 75 {props.label} 76 - {props.textarea ? ( 76 + {textarea ? ( 77 77 <textarea {...inputProps} className={style} /> 78 78 ) : ( 79 79 <Input {...inputProps} className={style} />