Created
November 13, 2020 15:51
-
-
Save jaysoo/40191486b5f7a4844d8d9f66bb166642 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 React from 'react'; | |
import { StyleSheet, Text, View } from 'react-native'; | |
import { UiHeading } from '@acme/ui-heading'; | |
export function App() { | |
return ( | |
<View style={styles.box}> | |
<UiHeading text="Hello World!" /> | |
<Text style={styles.text}>This is a demo page.</Text> | |
</View> | |
); | |
} | |
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