mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-07 18:50:14 +00:00
added maxFontSizeMultiplier to text ios props
This commit is contained in:
9
types/react-native/index.d.ts
vendored
9
types/react-native/index.d.ts
vendored
@@ -17,6 +17,7 @@
|
||||
// Ryan Nickel <https://github.com/mrnickel>
|
||||
// Souvik Ghosh <https://github.com/souvik-ghosh>
|
||||
// Cheng Gibson <https://github.com/nossbigg>
|
||||
// Saransh Kataria <https://github.com/saranshkataria>
|
||||
// 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 {
|
||||
|
||||
Reference in New Issue
Block a user