Skip to content

Instantly share code, notes, and snippets.

@oprearocks
Last active May 8, 2017 12:04
Show Gist options
  • Save oprearocks/bbf2eba9bfe6d051fa2527ab8b714bb8 to your computer and use it in GitHub Desktop.
Save oprearocks/bbf2eba9bfe6d051fa2527ab8b714bb8 to your computer and use it in GitHub Desktop.
/**
* 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