-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
27 lines (27 loc) · 668 Bytes
/
App.js
File metadata and controls
27 lines (27 loc) · 668 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 Signup from "./screens/signup/Signup";
import { YellowBox } from "react-native";
import { createSwitchNavigator, createAppContainer } from "react-navigation";
import Demo from "./screens/demo";
import Demo1 from "./screens/demo1";
import Pic from "./screens/pic";
import _ from "lodash";
YellowBox.ignoreWarnings(["Setting a timer"]);
const _console = _.clone(console);
console.warn = (message) => {
if (message.indexOf("Setting a timer") <= -1) {
_console.warn(message);
}
};
export default createAppContainer(
createSwitchNavigator(
{
Signup,
Demo,
Demo1,
Pic,
},
{
initialRouteName: "Signup",
}
)
);