Skip to content

Commit 0f5eeb8

Browse files
Add iOS 12 textContentType options
1 parent d154e9e commit 0f5eeb8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Libraries/Components/TextInput/TextInput.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ type IOSProps = $ReadOnly<{|
155155
| 'telephoneNumber'
156156
| 'username'
157157
| 'password'
158+
| 'newPassword'
159+
| 'oneTimeCode'
158160
),
159161
|}>;
160162

@@ -777,6 +779,8 @@ const TextInput = createReactClass({
777779
'telephoneNumber',
778780
'username',
779781
'password',
782+
'newPassword',
783+
'oneTimeCode',
780784
]),
781785
},
782786
getDefaultProps(): Object {

0 commit comments

Comments
 (0)