Created
May 8, 2017 12:03
-
-
Save oprearocks/90da209332c6ac3022ab06151d77530b 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, | |
NavigatorIOS | |
} from 'react-native'; | |
import MainPage from './mainPage.ios'; | |
export default class dresspaper extends Component { | |
constructor(props, context) { | |
super(props, context); | |
} | |
render() { | |
return ( | |
<NavigatorIOS | |
initialRoute={{ | |
component: MainPage, | |
title: 'MainPage', | |
navigationBarHidden: true, | |
}}/> | |
); | |
} | |
} | |
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