Last active
August 26, 2017 18:59
-
-
Save aaronblondeau/1454a381bea7e47635174084ce9b24be to your computer and use it in GitHub Desktop.
React Home Screen with NativeBase button
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 | |
} from 'react-native'; | |
import { Container, Content, Button, Text } from 'native-base'; | |
export default class ReactNativeQuickly1 extends Component { | |
render() { | |
return ( | |
<Container> | |
<Content> | |
<Button> | |
<Text>Get Stuff!</Text> | |
</Button> | |
</Content> | |
</Container> | |
); | |
} | |
} | |
const styles = StyleSheet.create({ | |
}); | |
AppRegistry.registerComponent('ReactNativeQuickly1', () => ReactNativeQuickly1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment