-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.js
More file actions
27 lines (26 loc) · 799 Bytes
/
main.js
File metadata and controls
27 lines (26 loc) · 799 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
import React from 'react'//navigator
import { View, Text, Button } from 'react-native'
import { createStackNavigator, createAppContainer } from 'react-navigation'
import EditItemScreen from './client/screens/EditItemScreen'
import SettingScreen from './client/screens/SettingScreen'
import PinScreen from './client/screens/PinScreen'
import JustifyContentBasics from './client/screens/JustifyContentBasics'
import Before from './client/screens/Before'
const AppNavigator = createStackNavigator(
{
EditItem: EditItemScreen,
JustifyContentBasics,
SettingScreen,
PinScreen,
Before
},
{
initialRouteName: 'Before'
}
)
const AppContainer = createAppContainer(AppNavigator)
export default class App extends React.Component {
render() {
return <AppContainer />
}
}