From e1497ce2b6abc8810bfcc4643e3e72ceec3bd3a3 Mon Sep 17 00:00:00 2001 From: ianlin Date: Mon, 4 Jul 2016 08:08:24 -0700 Subject: [PATCH] improve TextInput docs Summary: Add `phone-pad` as one of cross-platform values to `keyboardType`. Closes https://github.com/facebook/react-native/pull/8555 Differential Revision: D3515002 Pulled By: JoelMarcey fbshipit-source-id: 4f30dd72e8e30905a8a5fb90d3f361fb58eb825e --- Libraries/Components/TextInput/TextInput.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Libraries/Components/TextInput/TextInput.js b/Libraries/Components/TextInput/TextInput.js index af4a8ffc2..dc8b5fe13 100644 --- a/Libraries/Components/TextInput/TextInput.js +++ b/Libraries/Components/TextInput/TextInput.js @@ -190,6 +190,7 @@ const TextInput = React.createClass({ * - `default` * - `numeric` * - `email-address` + * - `phone-pad` */ keyboardType: PropTypes.oneOf([ // Cross-platform