import React, { Component } from 'react'; import { StyleSheet, View, Dimensions, Image, Text, TouchableOpacity, } from 'react-native'; import Animated from 'react-native-reanimated'; import Interactable from '../../Interactable'; const Screen = { width: Dimensions.get('window').width, height: Dimensions.get('window').height - 75, }; export default class MapPanel extends Component { constructor(props) { super(props); this._deltaY = new Animated.Value(Screen.height - 100); } render() { return ( San Francisco Airport International Airport - 40 miles away Directions Search Nearby ); } } const styles = StyleSheet.create({ container: { flex: 1, justifyContent: 'center', alignItems: 'center', backgroundColor: '#efefef', }, panelContainer: { position: 'absolute', top: 0, bottom: 0, left: 0, right: 0, }, panel: { height: Screen.height + 300, padding: 20, backgroundColor: '#f7f5eee8', borderTopLeftRadius: 20, borderTopRightRadius: 20, shadowColor: '#000000', shadowOffset: { width: 0, height: 0 }, shadowRadius: 5, shadowOpacity: 0.4, }, panelHeader: { alignItems: 'center', }, panelHandle: { width: 40, height: 8, borderRadius: 4, backgroundColor: '#00000040', marginBottom: 10, }, panelTitle: { fontSize: 27, height: 35, }, panelSubtitle: { fontSize: 14, color: 'gray', height: 30, marginBottom: 10, }, panelButton: { padding: 20, borderRadius: 10, backgroundColor: '#318bfb', alignItems: 'center', marginVertical: 10, }, panelButtonTitle: { fontSize: 17, fontWeight: 'bold', color: 'white', }, photo: { width: Screen.width - 40, height: 225, marginTop: 30, }, map: { height: Screen.height, width: Screen.width, }, });