Skip to content

Commit

Permalink
Update ResizableTextArea.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
li-jia-nan authored Jul 18, 2024
1 parent 639d02b commit bcdf93d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ResizableTextArea.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ const RESIZE_START = 0;
const RESIZE_MEASURING = 1;
const RESIZE_STABLE = 2;

type ResizableProp = Omit<TextAreaProps, 'onPressEnter'>;
type ResizableTextAreaProps = Omit<TextAreaProps, 'onPressEnter'>;

const ResizableTextArea = React.forwardRef<ResizableTextAreaRef, ResizableProp>(
const ResizableTextArea = React.forwardRef<ResizableTextAreaRef, ResizableTextAreaProps>(
(props, ref) => {
const {
prefixCls,
Expand Down

0 comments on commit bcdf93d

Please sign in to comment.