Commit 57b1e89d by g-ouattara

wrapped by the theme provider

parent 854a7723
import { ThemeProvider } from "@shopify/restyle";
import theme from "@themes/AppTheme";
import { StatusBar } from "expo-status-bar"; import { StatusBar } from "expo-status-bar";
import { StyleSheet, Text, View } from "react-native"; import { StyleSheet, Text, View } from "react-native";
export default function App() { export default function App() {
return ( return (
<View style={styles.container}> <ThemeProvider theme={theme}>
<Text>Open up App.tsx to start working on your app!</Text> <View style={styles.container}>
<StatusBar style="auto" /> <Text>Open up App.tsx to start working on your app!</Text>
</View> <StatusBar style="auto" />
</View>
</ThemeProvider>
); );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment