diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index fda058851d6e73..d66d00bb8e554c 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -32,6 +32,7 @@ // Kelvin Chu // Daiki Ihara // Abe Dolinger +// Dominique Richard // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.8 @@ -1208,14 +1209,18 @@ export interface TextInputAndroidProps { textAlignVertical?: 'auto' | 'top' | 'bottom' | 'center'; } -export type KeyboardType = 'default' | 'email-address' | 'numeric' | 'phone-pad'; +export type KeyboardType = + | 'default' + | 'email-address' + | 'numeric' + | 'phone-pad' + | 'number-pad' + | 'decimal-pad'; export type KeyboardTypeIOS = | 'ascii-capable' | 'numbers-and-punctuation' | 'url' - | 'number-pad' | 'name-phone-pad' - | 'decimal-pad' | 'twitter' | 'web-search'; export type KeyboardTypeAndroid = 'visible-password';