import { type FC, type InputHTMLAttributes } from 'react' import Error from './Error' import { clx } from '../helpers/utils' type Props = { label?: string, error_text?: string } & InputHTMLAttributes const Textarea: FC = (props: Props) => { return (
{ props.label &&
{props.label}
} { props.error_text && }
) } export default Textarea