// @flow import * as React from 'react'; import {Image, Linking, View} from 'react-native'; import {Body, Card, CardItem, Container, Content, H2, Left, Text} from 'native-base'; import CustomHeader from "../../components/CustomHeader"; import i18n from "i18n-js"; import CustomMaterialIcon from "../../components/CustomMaterialIcon"; type Props = { navigation: Object, }; /** * Opens a link in the device's browser * @param link The link to open */ function openWebLink(link) { Linking.openURL(link).catch((err) => console.error('Error opening link', err)); } /** * Class defining an about screen. This screen shows the user information about the app and it's author. */ export default class ProximoAboutScreen extends React.Component { render() { const nav = this.props.navigation; return ( {i18n.t('proximoScreen.description')}

{i18n.t('proximoScreen.openingHours')}

18h30 - 19h30

{i18n.t('proximoScreen.paymentMethods')}

{i18n.t('proximoScreen.paymentMethodsDescription')}
); } }