-
Notifications
You must be signed in to change notification settings - Fork 2
/
App.jsx
23 lines (21 loc) · 633 Bytes
/
App.jsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import React from 'react'
import AppLoading from 'expo-app-loading'
import { useFonts } from 'expo-font'
import { Provider as ReduxProvider } from 'react-redux'
import { ThemeProvider } from 'react-native-elements'
import store from './src/store/rootReducer'
import RootNavigation from './src/components/RootNavigation'
import content from './src/utils/content'
export default function App() {
const fonts = content.getFonts()
const [fontLoaded] = useFonts(fonts)
return fontLoaded ? (
<ReduxProvider store={store}>
<ThemeProvider>
<RootNavigation />
</ThemeProvider>
</ReduxProvider>
) : (
<AppLoading />
)
}