import * as React from 'react'; import './style/index.less'; export type TextareaSize = 'small' | 'default' | 'large'; export type TextareaColor = 'primary' | 'red' | 'orange'; interface TextareaOptions { isBlur?: boolean; disabled: boolean; size: TextareaSize; color: TextareaColor; value: string; placeholder: string; showCount: boolean; maxLength: number; clearable: boolean; readonly: boolean; onChange?: React.ChangeEventHandler; onBlur?: (val: string) => void; } export type TextareaProps = Partial; declare const Textarea: React.FC; export default Textarea;