From 964300519de2d803d264c6015b248fdcf708fe66 Mon Sep 17 00:00:00 2001 From: Sirui Li Date: Wed, 7 Mar 2018 06:19:46 +0800 Subject: [PATCH] Flow type: SafeAreaView doesn't require children (#3670) `children` prop should be optional. --- packages/react-navigation/flow/react-navigation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-navigation/flow/react-navigation.js b/packages/react-navigation/flow/react-navigation.js index e47bfea8..27a666dc 100644 --- a/packages/react-navigation/flow/react-navigation.js +++ b/packages/react-navigation/flow/react-navigation.js @@ -878,7 +878,7 @@ declare module 'react-navigation' { vertical?: _SafeAreaViewForceInsetValue, horizontal?: _SafeAreaViewForceInsetValue, }, - children: React$Node, + children?: React$Node, style?: AnimatedViewStyleProp, }; declare export var SafeAreaView: React$ComponentType<_SafeAreaViewProps>;