25개 이상의 토픽을 선택하실 수 없습니다.
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- import "react-native-gesture-handler";
- import React from "react";
- import { Provider } from "react-redux";
- import { Provider as PaperProvider } from "react-native-paper";
- import { PersistGate } from "redux-persist/lib/integration/react";
- import { persistor, store } from "./src/store";
- import { getTheme } from "./src/ui/Theme";
- import AppContainer from "./src/AppContainer";
- import { useColorScheme } from "react-native";
-
- export default function App() {
- const colorScheme = useColorScheme();
- const theme = getTheme(colorScheme);
- return (
- <Provider store={store}>
- <PersistGate persistor={persistor}>
- <PaperProvider theme={theme}>
- <AppContainer />
- </PaperProvider>
- </PersistGate>
- </Provider>
- );
- }
|