Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export const ButtonLayout = () => {
- return (
- <View style={styles.row}>
- <TouchableOpacity >
- <Text>Book Now</Text>
- </TouchableOpacity>
- <TouchableOpacity >
- <Text>Schedule</Text>
- </TouchableOpacity>
- </View>
- )
- }
- <View style={styles.container}>
- <MapView
- provider={MapView.PROVIDER_GOOGLE}
- style={styles.map}
- region={this.props.region}
- >
- <MapView.Marker
- coordinate={this.props.region}
- pinColor='green'
- />
- </MapView>
- <ButtonLayout style={{ marginBottom: 5 }} />
- </View>
- );
Add Comment
Please, Sign In to add comment