import { FC, InputHTMLAttributes } from 'react'

type Props = {
    label: string,
} & InputHTMLAttributes<HTMLTextAreaElement>

const Textarea: FC<Props> = (props: Props) => {
    return (
        <div className='w-full relative'>
            <label className='text-sm'>
                {props.label}
            </label>

            <textarea
                className='border border-border leading-7 w-full rounded-xl px-4 py-3 min-h-[100px] mt-1 text-xs'
                {...props}
            >

            </textarea>

        </div>
    )
}

export default Textarea