///
import React from 'react';
import BasePropsType from './PropsType';
export interface TextareaItemProps extends BasePropsType {
prefixCls?: string;
prefixListCls?: string;
className?: string;
onClick?: Function;
}
export interface TextareaItemState {
focus?: boolean;
}
export default class TextareaItem extends React.Component {
static defaultProps: {
prefixCls: string;
prefixListCls: string;
autoHeight: boolean;
editable: boolean;
disabled: boolean;
placeholder: string;
clear: boolean;
rows: number;
onChange: () => void;
onBlur: () => void;
onFocus: () => void;
onErrorClick: () => void;
error: boolean;
labelNumber: number;
};
textareaRef: any;
state: {
focus: boolean;
};
private debounceTimeout;
private scrollIntoViewTimeout;
focus: () => void;
componentDidUpdate(): void;
componentWillUnmount(): void;
onChange: (e: any) => void;
onBlur: (e: any) => void;
onFocus: (e: any) => void;
onErrorClick: () => void;
clearInput: () => void;
render(): JSX.Element;
}