mirror of
https://github.com/timepill/timepill-app.git
synced 2025-04-30 09:59:31 +08:00
22 lines
No EOL
536 B
JavaScript
22 lines
No EOL
536 B
JavaScript
/**
|
|
* @format
|
|
*/
|
|
|
|
import {AppRegistry} from 'react-native';
|
|
import App from './App';
|
|
import {name as appName} from './app.json';
|
|
import {Navigation} from "react-native-navigation";
|
|
|
|
//AppRegistry.registerComponent(appName, () => App);
|
|
|
|
Navigation.registerComponent(`navigation.playground.WelcomeScreen`, () => App);
|
|
|
|
Navigation.events().registerAppLaunchedListener(() => {
|
|
Navigation.setRoot({
|
|
root: {
|
|
component: {
|
|
name: "navigation.playground.WelcomeScreen"
|
|
}
|
|
}
|
|
});
|
|
}); |