Created
August 18, 2017 03:19
-
-
Save alien3d/9c2306cb3dfd2303db94387c45ba4f03 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Navigation } from 'react-native-navigation'; | |
import LoginScreen from './LoginScreen'; | |
import RegisterScreen from './RegisterScreen'; | |
import DrawerScreen from './DrawerScreen'; | |
import DashboardScreen from './DashboardScreen'; | |
import ListingScreen from './ListingScreen'; | |
import ProfileScreen from './ProfileScreen'; | |
// register all screens of the app (including internal ones) | |
export function registerScreens() { | |
Navigation.registerComponent('idcms.LoginScreen', () => LoginScreen); | |
Navigation.registerComponent('idcms.RegisterScreen', () => RegisterScreen); | |
Navigation.registerComponent('idcms.DashboardScreen', () => DashboardScreen); | |
Navigation.registerComponent('idcms.DrawerScreen', () => DrawerScreen); | |
Navigation.registerComponent('idcms.ListingScreen', () => ListingScreen); | |
Navigation.registerComponent('idcms.ProfileScreen', () => ProfileScreen); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment