import { forwardRef } from 'react'

import type { TextareaHTMLAttributes } from 'react'

type Props = TextareaHTMLAttributes<HTMLTextAreaElement>


export default forwardRef<HTMLTextAreaElement, Props> (({ ...props }, ref) => (
    <textarea ref={ref} className="rounded border w-full p-2 h-32" {...props}/>))
