Created
November 13, 2020 15:40
-
-
Save jaysoo/13c2e57e6b439c61de3a3cd748187aa2 to your computer and use it in GitHub Desktop.
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
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