Updated TextInput autoCompleteType prop to autoComplete 2/2 (#26010)

Summary:
Fix for bug https://github.com/facebook/react-native/issues/26003 Rename TextInput prop "autoCompleteType" to "autoComplete".

## Changelog

[Android] [Breaking] - Updated `autoCompleteType` prop of `TextInput` to `autoComplete`

Pull Request resolved: https://github.com/facebook/react-native/pull/26010

Test Plan: Sandcastle

Reviewed By: mdvacca

Differential Revision: D29795575

Pulled By: lunaleaps

fbshipit-source-id: 6eba7030968e9b7384529a43a6cd1b3c9e8b2a2c
This commit is contained in:
jeswinsimon
2021-08-11 17:53:37 -07:00
committed by Facebook GitHub Bot
parent cbec66ef92
commit 27fec9569e
3 changed files with 3 additions and 3 deletions
@@ -97,7 +97,7 @@ export type NativeProps = $ReadOnly<{|
*
* @platform android
*/
autoCompleteType?: WithDefault<
autoComplete?: WithDefault<
| 'cc-csc'
| 'cc-exp'
| 'cc-exp-month'
+1 -1
View File
@@ -331,7 +331,7 @@ type AndroidProps = $ReadOnly<{|
*
* @platform android
*/
autoCompleteType?: ?(
autoComplete?: ?(
| 'birthdate-day'
| 'birthdate-full'
| 'birthdate-month'
@@ -64,7 +64,7 @@ module.exports = {
*
* @platform android
*/
autoCompleteType: (PropTypes.oneOf([
autoComplete: (PropTypes.oneOf([
'cc-csc',
'cc-exp',
'cc-exp-month',