From fe5462429b26a32cc4aa0ead207e39a3387558a2 Mon Sep 17 00:00:00 2001 From: Alexander T Date: Thu, 12 Jul 2018 10:51:35 +0300 Subject: [PATCH] Add textTransform style prop (#27210) --- types/react-native/index.d.ts | 1 + types/react-native/test/index.tsx | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index 3ad2d62367..3b44a980b3 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -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"; } diff --git a/types/react-native/test/index.tsx b/types/react-native/test/index.tsx index 0199d4f14e..705b4707cf 100644 --- a/types/react-native/test/index.tsx +++ b/types/react-native/test/index.tsx @@ -676,6 +676,10 @@ class StylePropsTest extends React.PureComponent { // tintColor="green" // width={200} /> + + + Text + ); }