Skip to content

Commit 955c5e8

Browse files
committed
chore(TextArea): use ...props instead of ...rest for passthrough props
1 parent 7f32e89 commit 955c5e8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • packages/design-system-react/src/components/TextArea

packages/design-system-react/src/components/TextArea/TextArea.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export const TextArea = forwardRef<HTMLDivElement, TextAreaProps>(
3636
resize = TextAreaResize.None,
3737
className,
3838
style,
39-
...rest
39+
...props
4040
},
4141
ref,
4242
) => {
@@ -117,7 +117,7 @@ export const TextArea = forwardRef<HTMLDivElement, TextAreaProps>(
117117
className={containerClassName}
118118
style={style}
119119
onClick={handleClick}
120-
{...rest}
120+
{...props}
121121
>
122122
{inputElement ?? (
123123
<textarea

0 commit comments

Comments
 (0)