type(TextArea): combine TextAreaRef and TextAreaProps imports (#51695)

This commit is contained in:
thinkasany
2024-11-19 18:42:39 +08:00
committed by GitHub
parent 0d5f4ff95c
commit 7dfc5e3337

View File

@@ -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';