mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 12:39:49 +08:00
type(TextArea): combine TextAreaRef and TextAreaProps imports (#51695)
This commit is contained in:
parent
0d5f4ff95c
commit
7dfc5e3337
@ -1,10 +1,8 @@
|
|||||||
import * as React from 'react';
|
import * as React from 'react';
|
||||||
import { forwardRef } from 'react';
|
import { forwardRef } from 'react';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import type { TextAreaRef as RcTextAreaRef } from 'rc-textarea';
|
import type { TextAreaRef as RcTextAreaRef, TextAreaProps as RcTextAreaProps } from 'rc-textarea';
|
||||||
import RcTextArea from 'rc-textarea';
|
import RcTextArea from 'rc-textarea';
|
||||||
import type { TextAreaProps as RcTextAreaProps } from 'rc-textarea/lib/interface';
|
|
||||||
|
|
||||||
import getAllowClear from '../_util/getAllowClear';
|
import getAllowClear from '../_util/getAllowClear';
|
||||||
import type { InputStatus } from '../_util/statusUtils';
|
import type { InputStatus } from '../_util/statusUtils';
|
||||||
import { getMergedStatus, getStatusClassNames } from '../_util/statusUtils';
|
import { getMergedStatus, getStatusClassNames } from '../_util/statusUtils';
|
||||||
|
Loading…
Reference in New Issue
Block a user