A minimal example with React Navigation
import React from 'react';
import {View, Text, SafeAreaView, StyleSheet} from 'react-native';
import {BasicToolbar} from "@components"
function App({exit}) {
return (
<SafeAreaView style={{flex: 1}}>
<BasicToolbar exit={exit} title="Home" />
<View style={styles.home}>
<Text>Go Wild!</Text>
</View>
</SafeAreaView>
);
}
const styles = StyleSheet.create({
home: {
flex: 1,
alignItems: 'center',
justifyContent: 'center'
}
})
export default App;