export const StationDeteilView = (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 )} )} ); };