Files
react-native-swipeout/index.android.js
2015-10-10 17:04:02 -04:00

47 lines
795 B
JavaScript

/**
* Sample React Native App
* https://github.com/facebook/react-native
*/
'use strict';
var React = require('react-native');
var {
AppRegistry,
StyleSheet,
Text,
View,
} = React;
var Examples = require('./example/example.js')
var reactnativeswipeout = React.createClass({
render: function() {
return (
<View>
<Examples/>
</View>
);
}
});
var styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: '#F5FCFF',
},
welcome: {
fontSize: 20,
textAlign: 'center',
margin: 10,
},
instructions: {
textAlign: 'center',
color: '#333333',
marginBottom: 5,
},
});
AppRegistry.registerComponent('reactnativeswipeout', () => reactnativeswipeout);