Skip to content

Commit d9ce8c7

Browse files
fix(Textarea): props type error (#591)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent b7971f0 commit d9ce8c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/textarea/Textarea.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export interface TextareaRefInterface extends React.RefObject<unknown> {
2323
textareaElement: HTMLTextAreaElement;
2424
}
2525

26-
const Textarea = forwardRef<TextareaProps, TextareaRefInterface>((originProps, ref) => {
26+
const Textarea = forwardRef<TextareaRefInterface, TextareaProps>((originProps, ref) => {
2727
const props = useDefaultProps<TextareaProps>(originProps, textareaDefaultProps);
2828
const {
2929
className,

0 commit comments

Comments
 (0)