Skip to content

Commit 5e222db

Browse files
janicduplessisnecolas
authored andcommitted
[change] DOM prop enterKeyHint capitalization
React 17 added support for this prop so it now requires a camelCase form. Close #1707
1 parent 744b619 commit 5e222db

File tree

1 file changed

+1
-1
lines changed
  • packages/react-native-web/src/exports/TextInput

1 file changed

+1
-1
lines changed

packages/react-native-web/src/exports/TextInput/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ const TextInput = forwardRef<TextInputProps, *>((props, forwardedRef) => {
361361
supportedProps.classList = classList;
362362
// 'auto' by default allows browsers to infer writing direction
363363
supportedProps.dir = dir !== undefined ? dir : 'auto';
364-
supportedProps.enterkeyhint = returnKeyType;
364+
supportedProps.enterKeyHint = returnKeyType;
365365
supportedProps.onBlur = handleBlur;
366366
supportedProps.onChange = handleChange;
367367
supportedProps.onFocus = handleFocus;

0 commit comments

Comments
 (0)