Skip to content

Instantly share code, notes, and snippets.

@WallysonGalvao
Last active June 20, 2020 03:49
Show Gist options
  • Save WallysonGalvao/106ebbf1d06169cf340f231084502fe9 to your computer and use it in GitHub Desktop.
Save WallysonGalvao/106ebbf1d06169cf340f231084502fe9 to your computer and use it in GitHub Desktop.
Marvelapp
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