/// import type { CommonFormPropsType } from '../types'; import './style'; export default function Textarea({ id, className, style, events, label, labelVisible, defaultValue, placeholder, maxLength, disabled, focus: autoFocus, layout, requiredFlag, counterVisible, size, decorator, onChange: outerOnChange, }: PropsType): JSX.Element; export interface PropsType extends CommonFormPropsType { defaultValue?: string; placeholder?: string; maxLength?: number; focus?: boolean; counterVisible?: boolean; size?: 's' | 'm' | 'l' | 'full'; onChange: (val: string) => void; }