Skip to content

Instantly share code, notes, and snippets.

@jaysoo
Created November 13, 2020 15:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaysoo/13c2e57e6b439c61de3a3cd748187aa2 to your computer and use it in GitHub Desktop.
Save jaysoo/13c2e57e6b439c61de3a3cd748187aa2 to your computer and use it in GitHub Desktop.
import * as React from 'react';
import { SafeAreaView, StyleSheet, View, Text } from 'react-native';
import { UiHeading } from '@acme/ui-heading';
const App = () => {
return (
<>
<SafeAreaView>
<View style={styles.box}>
<UiHeading text="Hello World!" />
<Text style={styles.text}>This is a demo app.</Text>
</View>
</SafeAreaView>
</>
);
};
const styles = StyleSheet.create({
box: { padding: 10 },
text: { fontSize: 18 },
});
export default App;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment