From 82d00650370e2f4ca3105780f865f8554e830205 Mon Sep 17 00:00:00 2001 From: Brent Vatne Date: Wed, 31 Oct 2018 15:54:29 -0700 Subject: [PATCH] Clean up SafeAreaView in example --- .../examples/NavigationPlayground/js/App.js | 28 ++++++++----------- 1 file changed, 11 insertions(+), 17 deletions(-) diff --git a/packages/react-navigation/examples/NavigationPlayground/js/App.js b/packages/react-navigation/examples/NavigationPlayground/js/App.js index 6d835d22..1f5d0d86 100644 --- a/packages/react-navigation/examples/NavigationPlayground/js/App.js +++ b/packages/react-navigation/examples/NavigationPlayground/js/App.js @@ -247,7 +247,7 @@ class MainScreen extends React.Component { { {Object.keys(ExampleRoutes).map((routeName: string) => ( @@ -311,19 +312,14 @@ class MainScreen extends React.Component { } }} > - - - - {ExampleInfo[routeName].name} - - - {ExampleInfo[routeName].description} - - - + + + {ExampleInfo[routeName].name} + + + {ExampleInfo[routeName].description} + + ))} @@ -370,8 +366,6 @@ const styles = StyleSheet.create({ item: { paddingHorizontal: 16, paddingVertical: 12, - }, - itemContainer: { borderBottomWidth: StyleSheet.hairlineWidth, borderBottomColor: '#ddd', },