Merge pull request #23316 from esam091/react-native-textalign-justify

[react-native] Add "justify" option to TextStyle
This commit is contained in:
Eloy Durán
2018-01-31 14:51:28 -05:00
committed by GitHub
+1 -5
View File
@@ -758,11 +758,7 @@ export interface TextStyle extends TextStyleIOS, TextStyleAndroid, ViewStyle {
fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
letterSpacing?: number;
lineHeight?: number;
/**
* Specifies text alignment.
* The value 'justify' is only supported on iOS.
*/
textAlign?: "auto" | "left" | "right" | "center";
textAlign?: "auto" | "left" | "right" | "center" | "justify";
textDecorationLine?: "none" | "underline" | "line-through" | "underline line-through";
textDecorationStyle?: "solid" | "double" | "dotted" | "dashed";
textDecorationColor?: string;