This app provides monitoring and information features for the common freifunk user and the technical stuff of a freifunk community.
Code base is taken from a TUM Practical Course project and added here to see if Freifunk Altdorf can use it.
https://www.freifunk-altdorf.de
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
814 B
39 lines
814 B
6 years ago
|
import React, { Component } from 'react';
|
||
|
import {
|
||
|
Image,
|
||
|
Platform,
|
||
|
StyleSheet,
|
||
|
} from 'react-native';
|
||
|
|
||
|
import ListItem from '../../components/ListItem';
|
||
|
import WelcomeText from './WelcomeText';
|
||
|
|
||
|
export default class WelcomeScreen extends Component {
|
||
|
|
||
|
static navigationOptions = {
|
||
|
title: 'Welcome',
|
||
|
// You can now set header: null on any component to hide the header
|
||
|
header: Platform.OS === 'ios' ? undefined : null,
|
||
|
tabBarIcon: ({ tintColor }) => (
|
||
|
<Image
|
||
|
// Using react-native-vector-icons works here too
|
||
|
source={require('./welcome-icon.png')}
|
||
|
style={[styles.icon, {tintColor: tintColor}]}
|
||
|
/>
|
||
|
),
|
||
|
}
|
||
|
|
||
|
render() {
|
||
|
return (
|
||
|
<WelcomeText />
|
||
|
);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
const styles = StyleSheet.create({
|
||
|
icon: {
|
||
|
width: 30,
|
||
|
height: 26,
|
||
|
},
|
||
|
});
|