Skip to content

Commit

Permalink
Flow type: SafeAreaView doesn't require children (react-navigation#3670)
Browse files Browse the repository at this point in the history
`children` prop should be optional.
  • Loading branch information
leethree authored and sourcecode911 committed Mar 9, 2020
1 parent 792ff0e commit d673234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flow/react-navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>;
Expand Down

0 comments on commit d673234

Please sign in to comment.