From 53bb283fb30d46e999b25915664b3c24daeadc02 Mon Sep 17 00:00:00 2001 From: Janic Duplessis Date: Sun, 23 Sep 2018 16:07:12 -0700 Subject: [PATCH] Fix flow type for maxFontSizeMultiplier on TextInput (#21271) Summary: This flow type is wrong, probably just a copy paste mistake. Pull Request resolved: https://github.com/facebook/react-native/pull/21271 Differential Revision: D10006741 Pulled By: TheSavior fbshipit-source-id: eba0116ec39ba00f000d9bf789ae9214990355a1 --- Libraries/Components/TextInput/TextInput.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/Components/TextInput/TextInput.js b/Libraries/Components/TextInput/TextInput.js index ff8182e9e..43a545881 100644 --- a/Libraries/Components/TextInput/TextInput.js +++ b/Libraries/Components/TextInput/TextInput.js @@ -179,7 +179,7 @@ type Props = $ReadOnly<{| autoCorrect?: ?boolean, autoFocus?: ?boolean, allowFontScaling?: ?boolean, - maxFontSizeMultiplier?: ?boolean, + maxFontSizeMultiplier?: ?number, editable?: ?boolean, keyboardType?: ?KeyboardType, returnKeyType?: ?ReturnKeyType,