Fix autoCompleteType prop for text input component by Naturalclar · Pull Request #639 · rescript-react-native/rescript-react-native
Expand Up
@@ -87,22 +87,22 @@ external make:
| `none
]
=?,
~autoComplete: [@bs.string] [
| `off
| `username
| `password
| `email
| `name
| `tel
| [@bs.as "street-address"] `streetAddress
| [@bs.as "postal-code"] `postalCode
| [@bs.as "cc-number"] `ccNumber
| [@bs.as "cc-csc"] `ccCsc
| [@bs.as "cc-exp"] `ccExp
| [@bs.as "cc-exp-month"] `ccExpMonth
| [@bs.as "cc-exp-year"] `ccExpYear
]
=?,
~autoCompleteType: [@bs.string] [
| `off
| `username
| `password
| `email
| `name
| `tel
| [@bs.as "street-address"] `streetAddress
| [@bs.as "postal-code"] `postalCode
| [@bs.as "cc-number"] `ccNumber
| [@bs.as "cc-csc"] `ccCsc
| [@bs.as "cc-exp"] `ccExp
| [@bs.as "cc-exp-month"] `ccExpMonth
| [@bs.as "cc-exp-year"] `ccExpYear
]
=?,
~autoCorrect: bool=?,
~autoFocus: bool=?,
~blurOnSubmit: bool=?,
Expand Down