Created
October 2, 2017 07:15
-
-
Save ysfzrn/7a4ca1ec3bda32094f8cdb2403695393 to your computer and use it in GitHub Desktop.
This file contains 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 HomeScreen from './screens/home'; | |
import GameScreen from './screens/gameScreen'; | |
import Store from './stores' | |
import Provider from './Provider' | |
export function registerScreens() { | |
Navigation.registerComponent("crazySnake.HomeScreen", () => HomeScreen,Store,Provider); | |
Navigation.registerComponent("crazySnake.GameScreen", () => GameScreen,Store,Provider); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment