import { Input as AntdInput } from 'antd'; import { TextAreaProps as AntdTextareaProps } from 'antd/lib/input/TextArea'; import { forwardRef } from 'react'; import { WithLabel } from './Label'; const { TextArea: AntdTextarea } = AntdInput; export interface TextAreaProps extends AntdTextareaProps { placeholder?: string; label?: string; className?: string; } const TextArea = forwardRef( ( { placeholder, label, className, rows, ...otherProps }: TextAreaProps, ref: any ) => { return ( ); } ); export default TextArea;