Created
April 13, 2016 07:26
-
-
Save lesniakania/5fdb74d9e4dfbcd39add011d115d7331 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
| 'use strict' | |
| import React from 'react-native'; | |
| import { Router, Route } from 'react-native-router-flux'; | |
| import styles from './styles/navigation'; | |
| import SubmissionsContainer from './components/SubmissionsContainer'; | |
| class Routes extends React.Component { | |
| render() { | |
| return ( | |
| <Router navigationBarStyle={styles.navBar} | |
| style={styles.scene}> | |
| <Route name="submissions" | |
| component={SubmissionsContainer} | |
| title="Submissions" /> | |
| </Router> | |
| ) | |
| } | |
| }; | |
| export default Routes; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment