UNPKG

antd-fx67ll-test

Version:

这是一个测试着玩的私服antd项目,完全照抄v4.16.6的antd源码,请勿使用,仅做发布测试(因每次发布必须要升版本,如发现版本出入请忽略,与官方无关)

25 lines (24 loc) 841 B
import * as React from 'react'; import { TextAreaProps as RcTextAreaProps } from 'rc-textarea'; import ResizableTextArea from 'rc-textarea/lib/ResizableTextArea'; import { InputFocusOptions } from './Input'; import { SizeType } from '../config-provider/SizeContext'; interface ShowCountProps { formatter: (args: { count: number; maxLength?: number; }) => string; } export interface TextAreaProps extends RcTextAreaProps { allowClear?: boolean; bordered?: boolean; showCount?: boolean | ShowCountProps; size?: SizeType; } export interface TextAreaRef { focus: (options?: InputFocusOptions) => void; blur: () => void; resizableTextArea?: ResizableTextArea; } declare const TextArea: React.ForwardRefExoticComponent<TextAreaProps & React.RefAttributes<TextAreaRef>>; export default TextArea;