Skip to content

Instantly share code, notes, and snippets.

View thomascuriger's full-sized avatar

Thomas Curiger thomascuriger

  • O-Developers
  • Zurich
View GitHub Profile
import React from 'react';
import { View, ScrollView, Platform, Dimensions, StyleSheet } from 'react-native';
import { Icon } from 'react-native-elements';
import { Toolbar, ThemeContext, getTheme } from 'react-native-material-ui';
import Pdf from 'react-native-pdf';
export class StreckenScreen extends React.Component {
static navigationOptions = {
@thomascuriger
thomascuriger / test 2
Created January 23, 2019 14:08
test 32
import React from 'react';
import { View, ScrollView, Platform, Dimensions, StyleSheet } from 'react-native';
import { Icon } from 'react-native-elements';
import { Toolbar, ThemeContext, getTheme } from 'react-native-material-ui';
import Pdf from 'react-native-pdf';
export class StreckenScreen extends React.Component {
constructor (props) {
<ThemeContext.Provider value={getTheme(brotheme)}>
<SafeAreaView style={{ flex: 1, backgroundColor: '#fff' }}>
<View style={{ flex: 1 }}>
<View>
<Toolbar
leftElement="arrow-back"
onLeftElementPress={() => this.props.navigation.goBack()}
centerElement={i18n.t("General.toolbar_transport")}
style={{
titleText: {