From 28bedbce7230f894dc896a3dfab8875c4ebf351f Mon Sep 17 00:00:00 2001 From: Marco Buono Date: Fri, 18 Aug 2017 20:07:35 -0300 Subject: [PATCH] react-native: Add display style It's available as of v0.43, see the following commit: https://github.com/facebook/react-native/commit/4d69f4b2d1cf4f2e8265fe5758f28086f1b67500 --- types/react-native/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index 6a434c159d..b9000db448 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -1561,6 +1561,7 @@ export interface ViewStyle extends FlexStyle, TransformsStyle { borderTopLeftRadius?: number; borderTopRightRadius?: number; borderTopWidth?: number; + display?: "none" | "flex"; opacity?: number; overflow?: "visible" | "hidden" shadowColor?: string;