Add justify option to TextStyle

This commit is contained in:
Samuel Edwin
2018-01-31 23:50:38 +07:00
parent 6a187f6d44
commit 73e70076ff
+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;