Skip to content

Commit b17846a

Browse files
committed
react-native(TextArea): omit unsupported inputElement from props to prevent accidental forwarding
1 parent 63c065a commit b17846a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/design-system-react-native/src/components/TextArea/TextArea.types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ type TextAreaInputProps = Omit<
2727
* React Native `TextArea` props: shared textarea state plus the remaining
2828
* `TextInput` props that are meaningful on the root field.
2929
*/
30-
export type TextAreaProps = TextAreaPropsShared &
30+
export type TextAreaProps = Omit<TextAreaPropsShared, 'inputElement'> &
3131
TextAreaInputProps & {
3232
/**
3333
* Called when the root `TextInput` value changes (React Native naming).

0 commit comments

Comments
 (0)