Created
January 4, 2022 15:41
-
-
Save yaralahruthik/09fe128fafa4d8f8d84614a0c3025e68 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"; | |
const App = () => ( | |
<View style={styles.container}> | |
<Text style={styles.title}>Hello World!</Text> | |
</View> | |
); | |
const styles = StyleSheet.create({ | |
container: { | |
flex: 1, | |
padding: 24, | |
backgroundColor: "#eaeaea" | |
}, | |
title: { | |
marginTop: 16, | |
paddingVertical: 8, | |
backgroundColor: "#ffffff", | |
color: "#000000", | |
textAlign: "center", | |
fontSize: 16, | |
} | |
}); | |
export default App; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment