123456789101112131415161718192021 |
- import {Navigation} from 'react-native-navigation';
-
- import FirstTabScreen from './FirstTabScreen';
- import SecondTabScreen from './SecondTabScreen';
- import PushedScreen from './PushedScreen';
- import StyledScreen from './StyledScreen';
- import SideMenu from './SideMenu';
- import ModalScreen from './ModalScreen';
- import CollapsingTopBarScreen from './CollapsingTopBarScreen';
-
- // register all screens of the app (including internal ones)
- export function registerScreens() {
- Navigation.registerComponent('example.FirstTabScreen', () => FirstTabScreen);
- Navigation.registerComponent('example.SecondTabScreen', () => SecondTabScreen);
- Navigation.registerComponent('example.PushedScreen', () => PushedScreen);
- Navigation.registerComponent('example.StyledScreen', () => StyledScreen);
- Navigation.registerComponent('example.ModalScreen', () => ModalScreen);
- Navigation.registerComponent('example.SideMenu', () => SideMenu);
- Navigation.registerComponent('example.CollapsingTopBarScreen', () => CollapsingTopBarScreen);
- }
|