From cb503dd7b9ee878da039145d760bc30053b25af5 Mon Sep 17 00:00:00 2001 From: Janic Duplessis Date: Mon, 17 Aug 2020 17:43:06 -0400 Subject: [PATCH] [change] DOM prop enterKeyHint capitalization React 17 added support for this prop so it now requires a camelCase form. Close #1707 --- src/exports/TextInput/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/exports/TextInput/index.js b/src/exports/TextInput/index.js index 41b104c26b..c9b0b44398 100644 --- a/src/exports/TextInput/index.js +++ b/src/exports/TextInput/index.js @@ -361,7 +361,7 @@ const TextInput = forwardRef((props, forwardedRef) => { supportedProps.classList = classList; // 'auto' by default allows browsers to infer writing direction supportedProps.dir = dir !== undefined ? dir : 'auto'; - supportedProps.enterkeyhint = returnKeyType; + supportedProps.enterKeyHint = returnKeyType; supportedProps.onBlur = handleBlur; supportedProps.onChange = handleChange; supportedProps.onFocus = handleFocus;