From 60e91fa9ff5b52816a5ce76d64a4d12e90bacf54 Mon Sep 17 00:00:00 2001 From: Eli White Date: Mon, 11 Nov 2019 12:18:27 -0800 Subject: [PATCH] Add ascii-capable-number-pad to DeprecatedTextInputPropTypes Summary: This was added to the flow type and example in D18275225 but not added to the prop-type Changelog: [Internal] Reviewed By: sammy-SC Differential Revision: D18431253 fbshipit-source-id: ffe4eaa8bd9dd22bf7c1487873c9fbdb7b226e3d --- Libraries/DeprecatedPropTypes/DeprecatedTextInputPropTypes.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Libraries/DeprecatedPropTypes/DeprecatedTextInputPropTypes.js b/Libraries/DeprecatedPropTypes/DeprecatedTextInputPropTypes.js index 649120eb125..8325bd4882e 100644 --- a/Libraries/DeprecatedPropTypes/DeprecatedTextInputPropTypes.js +++ b/Libraries/DeprecatedPropTypes/DeprecatedTextInputPropTypes.js @@ -147,6 +147,7 @@ module.exports = { * - `name-phone-pad` * - `twitter` * - `web-search` + * - `ascii-capable-number-pad` * * *Android Only* * @@ -169,6 +170,8 @@ module.exports = { 'decimal-pad', 'twitter', 'web-search', + // iOS 10+ only + 'ascii-capable-number-pad', // Android-only 'visible-password', ]): React$PropType$Primitive< @@ -184,6 +187,7 @@ module.exports = { | 'decimal-pad' | 'twitter' | 'web-search' + | 'ascii-capable-number-pad' | 'visible-password', >), /**