Last active
June 20, 2020 03:49
-
-
Save WallysonGalvao/106ebbf1d06169cf340f231084502fe9 to your computer and use it in GitHub Desktop.
Marvelapp
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, View, Text } from "react-native"; | |
import Constants from "expo-constants"; | |
import Menu from "../../assets/icons/menu.svg"; | |
import Logo from "../../assets/icons/logo.svg"; | |
import Search from "../../assets/icons/search.svg"; | |
const Home = () => { | |
return ( | |
<View style={styles.container}> | |
<View style={styles.bar}> | |
<Menu /> | |
<Logo /> | |
<Search /> | |
</View> | |
</View> | |
); | |
}; | |
export default Home; | |
const styles = StyleSheet.create({ | |
container: { | |
flex: 1, | |
paddingHorizontal: 32, | |
paddingTop: 20 + Constants.statusBarHeight, | |
}, | |
bar: { | |
flexDirection: "row", | |
justifyContent: "space-between", | |
}, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment