diff --git a/examples/ExampleApp/index.android.js b/examples/ExampleApp/index.android.js index 1d31f76..36755dc 100644 --- a/examples/ExampleApp/index.android.js +++ b/examples/ExampleApp/index.android.js @@ -7,6 +7,7 @@ var { NativeModules, TouchableNativeFeedback, ScrollView, + ToolbarAndroid, } = React; import DialogAndroid from 'react-native-dialogs'; @@ -14,9 +15,6 @@ import DialogAndroid from 'react-native-dialogs'; import dialogData from './dialogData.js'; import {MKButton } from 'react-native-material-kit'; - - - class ExampleApp extends React.Component { constructor(props) { super(props); @@ -54,11 +52,14 @@ class ExampleApp extends React.Component { }); return ( + + {dialogs} + ); } } @@ -82,7 +83,11 @@ var styles = StyleSheet.create({ textAlign: 'center', color: '#333333', marginBottom: 5, - } + }, + toolbar: { + backgroundColor: '#311B92', + height: 56, + }, }); AppRegistry.registerComponent('ExampleApp', () => ExampleApp);