23 lines
534 B
JavaScript
23 lines
534 B
JavaScript
/**
|
|
* @format
|
|
*/
|
|
|
|
import { Navigation } from "react-native-navigation";
|
|
import App from './App'
|
|
|
|
Navigation.registerComponent('com.massive.WelcomeScreen', () => App)
|
|
Navigation.events().registerAppLaunchedListener(() => {
|
|
Navigation.setRoot({
|
|
root: {
|
|
stack: {
|
|
children: [
|
|
{
|
|
component: {
|
|
name: 'com.myApp.WelcomeScreen'
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
});
|
|
}); |