From dd6e4b2deebdd4e2b0a2d1e4d42fd1449ea17069 Mon Sep 17 00:00:00 2001 From: saranshkataria Date: Mon, 11 Mar 2019 22:08:44 -0700 Subject: [PATCH] added maxFontSizeMultiplier to text ios props --- types/react-native/index.d.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index a96ffd41eb..786af04312 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -17,6 +17,7 @@ // Ryan Nickel // Souvik Ghosh // Cheng Gibson +// Saransh Kataria // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.8 @@ -808,6 +809,14 @@ export interface TextPropsIOS { * default, a gray oval highlights the text on press down. */ suppressHighlighting?: boolean; + + /** + * Specifies largest possible scale a font can reach when allowFontScaling is enabled. Possible values: + * - null/undefined (default): inherit from the parent node or the global default (0) + * - 0: no max, ignore parent/global default + * - >= 1: sets the maxFontSizeMultiplier of this node to this value + */ + maxFontSizeMultiplier?: number; } export interface TextPropsAndroid {