Skip to content

Instantly share code, notes, and snippets.

@aaronblondeau
Last active August 26, 2017 18:59
Show Gist options
  • Save aaronblondeau/1454a381bea7e47635174084ce9b24be to your computer and use it in GitHub Desktop.
Save aaronblondeau/1454a381bea7e47635174084ce9b24be to your computer and use it in GitHub Desktop.
React Home Screen with NativeBase button
/**
* 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