Last active
May 8, 2017 12:04
-
-
Save oprearocks/bbf2eba9bfe6d051fa2527ab8b714bb8 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
/** | |
* Sample React Native App | |
* https://github.com/facebook/react-native | |
* @flow | |
*/ | |
import React, { Component } from 'react'; | |
import { | |
AppRegistry, | |
StyleSheet, | |
View, | |
NavigatorIOS | |
} from 'react-native'; | |
import MainPage from './mainPage.ios'; | |
export default class dresspaper extends Component { | |
constructor(props, context) { | |
super(props, context); | |
} | |
render() { | |
return ( | |
<View style={styles.container}> | |
<NavigatorIOS | |
initialRoute={{ | |
component: MainPage, | |
title: 'MainPage', | |
navigationBarHidden: true, | |
}}/> | |
</View> | |
); | |
} | |
} | |
const styles = StyleSheet.create({ | |
container: { | |
flex: 1, | |
} | |
}); | |
AppRegistry.registerComponent('dresspaper', () => dresspaper); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment