import React from "react"; import { View, ScrollView, Linking } from "react-native"; import StatusbarDetect from "../../StatusbarDetect"; var Status = StatusbarDetect(); import { FontAwesome, Foundation, Ionicons } from "@expo/vector-icons"; import ActionSheet from "react-native-actions-sheet"; import Sign from "../../components/駅名表/Sign"; import { TicketBox } from "../atom/TicketBox"; export const StationDeteilView = (props) => { const { StationBoardAcSR, currentStation, originalStationList } = props; return ( {}} > {currentStation && ( Linking.openURL(currentStation[0].StationTimeTable)} /> )} {currentStation && ( {!currentStation[0].JrHpUrl || ( } flex={1} onPressButton={() => Linking.openURL(currentStation[0].JrHpUrl) } > web )} {!currentStation[0].StationTimeTable || ( } flex={1} onPressButton={() => Linking.openURL(currentStation[0].StationTimeTable) } > 時刻表 )} {!currentStation[0].StationMap || ( } flex={1} onPressButton={() => Linking.openURL(currentStation[0].StationMap) } > GoogleMap )} )} ); };