-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
45 lines (40 loc) · 1.16 KB
/
index.js
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
33
34
35
36
37
38
39
40
41
42
43
44
45
/**
* @format
*/
// import App from './App';
// import {name as appName} from './app.json';
// import { AppRegistry } from 'react-native';
// AppRegistry.registerComponent(appName, () => App);
import {Navigation} from 'react-native-navigation';
import SignIn from './screens/signin';
import SignUp from './screens/signup';
import Home from './screens/home';
import ForgotPass from './screens/forgotpass';
import { LogBox } from 'react-native';
import ViewChild from './screens/viewchild';
LogBox.ignoreAllLogs(true);
Navigation.registerComponent('SignIn', () => SignIn);
Navigation.registerComponent('SignUp', () => SignUp);
Navigation.registerComponent('ForgotPass', () => ForgotPass);
Navigation.registerComponent('Home', () => Home);
Navigation.registerComponent('ViewChild', () => ViewChild);
Navigation.events().registerAppLaunchedListener(() => {
Navigation.setRoot({
root: {
stack: {
children: [
{
component: {
name: "SignIn",
options: {
topBar: {
visible: false,
},
},
},
},
],
},
},
});
});