mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 15:27:05 +00:00
[react-native] Added missing importantForAutofill for TextInput (#35344)
* [react-native] Added missing importantForAutofill for TextInput * correctly describe yesExcludeDescendants Co-authored-by: Eloy Durán <eloy.de.enige@gmail.com>
This commit is contained in:
committed by
Eloy Durán
co-authored by
Eloy Durán
parent
6d993e42ec
commit
a3bfa7d64d
Vendored
+22
@@ -1123,6 +1123,28 @@ export interface TextInputAndroidProps {
|
||||
| 'username'
|
||||
| 'off';
|
||||
|
||||
/**
|
||||
* Determines whether the individual fields in your app should be included in a
|
||||
* view structure for autofill purposes on Android API Level 26+. Defaults to auto.
|
||||
* To disable auto complete, use `off`.
|
||||
*
|
||||
* *Android Only*
|
||||
*
|
||||
* The following values work on Android only:
|
||||
*
|
||||
* - `auto` - let Android decide
|
||||
* - `no` - not important for autofill
|
||||
* - `noExcludeDescendants` - this view and its children aren't important for autofill
|
||||
* - `yes` - is important for autofill
|
||||
* - `yesExcludeDescendants` - this view is important for autofill but its children aren't
|
||||
*/
|
||||
importantForAutofill?:
|
||||
| "auto"
|
||||
| "no"
|
||||
| "noExcludeDescendants"
|
||||
| "yes"
|
||||
| "yesExcludeDescendants";
|
||||
|
||||
/**
|
||||
* When false, if there is a small amount of space available around a text input (e.g. landscape orientation on a phone),
|
||||
* the OS may choose to have the user edit the text inside of a full screen text input mode.
|
||||
|
||||
Reference in New Issue
Block a user