mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 23:37:04 +00:00
Add textTransform style prop (#27210)
This commit is contained in:
committed by
Ryan Cavanaugh
parent
3a82a6c232
commit
fe5462429b
Vendored
+1
@@ -766,6 +766,7 @@ export interface TextStyleIOS extends ViewStyle {
|
||||
letterSpacing?: number;
|
||||
textDecorationColor?: string;
|
||||
textDecorationStyle?: "solid" | "double" | "dotted" | "dashed";
|
||||
textTransform?: "none" | "capitalize" | "uppercase" | "lowercase";
|
||||
writingDirection?: "auto" | "ltr" | "rtl";
|
||||
}
|
||||
|
||||
|
||||
@@ -676,6 +676,10 @@ class StylePropsTest extends React.PureComponent {
|
||||
// tintColor="green"
|
||||
// width={200}
|
||||
/>
|
||||
|
||||
<Text style={{ /* iOs only */ textTransform: 'capitalize' }}>
|
||||
Text
|
||||
</Text>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user