| 1234567891011121314151617181920212223242526272829303132 |
- import { StatusBar } from "expo-status-bar";
- import { StyleSheet, Text, View } from "react-native";
- import { Provider } from "react-redux";
- import Counter from "./component/counter";
- import store from "./store";
- const styles = StyleSheet.create({
- container: {
- flex: 1,
- backgroundColor: "#fff",
- alignItems: "center",
- justifyContent: "center",
- },
- });
- function App() {
- return (
- <View style={styles.container}>
- <Text>Open up App.tsx to start working on your app!</Text>
- <StatusBar style="auto" />
- <Counter />
- </View>
- );
- }
- export default function Root() {
- return (
- <Provider store={store}>
- <App />
- </Provider>
- );
- }
|