Created
February 22, 2018 10:56
-
-
Save jsaguiar/e359dd228492180eb5f0d04237c0d0f1 to your computer and use it in GitHub Desktop.
Main.js
This file contains hidden or 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
(....) | |
render() { | |
console.log('listings screen render') | |
const { | |
offers | |
} = this.props | |
return ( | |
<View style={styles.container}> | |
<MainMap | |
ref={ref => { this.map = ref }} | |
> | |
<Pin> | |
{this.renderPins(offers[0])} | |
</Pin> | |
</MainMap> | |
</View> | |
) | |
} | |
} | |
const styles = StyleSheet.create({ | |
container: { | |
flex: 1, | |
backgroundColor: '#ff0' | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment