forked from code-cobalt/asobu
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.tsx
More file actions
32 lines (29 loc) · 634 Bytes
/
App.tsx
File metadata and controls
32 lines (29 loc) · 634 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import React from 'react'
import { StyleSheet, View } from 'react-native'
import { Provider } from 'react-redux'
import { store } from './src/store'
import Wrapper from './views/Wrapper'
import SocketProvider from './components/SocketProvider'
const App: React.FunctionComponent = () => {
return (
<Provider store={store}>
<View style={styles.container}>
<SocketProvider>
<Wrapper />
</SocketProvider>
</View>
</Provider>
)
}
const styles = StyleSheet.create({
container: {
flex: 1
},
app__main: {
flex: 12
},
app__navbar: {
flex: 1
}
})
export default App