Skip to content

Instantly share code, notes, and snippets.

@ebnersilva
Last active May 7, 2019 13:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ebnersilva/4d4942032a15efdc8be537d380124663 to your computer and use it in GitHub Desktop.
Save ebnersilva/4d4942032a15efdc8be537d380124663 to your computer and use it in GitHub Desktop.
Post Medium - Criando um footer personalizado para nosso aplicativo - Body do App.js
<Container>
<MapView
style={{
position: 'absolute',
top: 0,
left: 0,
right: 0,
bottom: 0,
}}
provider={PROVIDER_GOOGLE} // remove if not using Google Maps
region={region}
showsUserLocations
loadinEnabled
/>
<Footer>
<Image source={FooterAppImage}>
<TouchableOpacity>
<Icon name="menu" size={30} color="#FFF" />
</TouchableOpacity>
<TouchableOpacity>
<Icon name="notifications" size={30} color="#FFF" />
</TouchableOpacity>
</Image>
</Footer>
</Container>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment