/// import { PopoverProps } from '../../../component/Popover/type'; import { Rule } from '../../../component/Rule/type'; export interface TextareaProps extends Omit, 'size' | 'defaultValue' | 'onChange' | 'width'> { rules?: Rule[]; autoSize?: boolean; showCount?: boolean; maxHeight?: string | number; onEnterPress?: (value: string, evt: React.KeyboardEvent) => void; onChange?: (value: string) => void; rows?: number; value?: string; resize?: boolean; trim?: boolean; defaultValue?: string; clearable?: boolean; disabled?: boolean; tip?: React.ReactNode | ((value: string) => React.ReactNode); popoverProps?: Omit; className?: string; style?: React.CSSProperties; onBlur?: (e: React.FocusEvent) => void; onFocus?: (e: React.FocusEvent) => void; size?: 'small' | 'default' | 'large'; border?: boolean; width?: React.CSSProperties['width']; autoFocus?: boolean; }