react-native-vision-camera/example/index.tsx
2021-02-19 18:02:24 +01:00

23 lines
493 B
TypeScript

import { Navigation } from "react-native-navigation";
import App from './src/App';
import Settings from './src/Settings';
Navigation.registerComponent('Home', () => App);
Navigation.registerComponent('Settings', () => Settings);
Navigation.events().registerAppLaunchedListener(() => {
Navigation.setRoot({
root: {
stack: {
children: [
{
component: {
name: 'Home'
}
}
]
}
}
});
});