mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-23 18:50:06 +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 { forwardRef } from 'react';
|
||||
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 type { TextAreaProps as RcTextAreaProps } from 'rc-textarea/lib/interface';
|
||||
|
||||
import getAllowClear from '../_util/getAllowClear';
|
||||
import type { InputStatus } from '../_util/statusUtils';
|
||||
import { getMergedStatus, getStatusClassNames } from '../_util/statusUtils';
|
||||
|
Loading…
Reference in New Issue
Block a user