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.
50 lines
1.2 KiB
50 lines
1.2 KiB
import React, { Component } from 'react'; |
|
import { |
|
StyleSheet, |
|
Text, |
|
View, |
|
} from 'react-native'; |
|
|
|
export default class WelcomeText extends Component { |
|
render() { |
|
return ( |
|
<View style={styles.container}> |
|
<Text style={styles.welcome}> |
|
Welcome to React Native! |
|
</Text> |
|
<Text style={styles.instructions}> |
|
This app shows the basics of navigating between a few screens, |
|
working with ListView and handling text input. |
|
</Text> |
|
<Text style={styles.instructions}> |
|
Modify any files to get started. For example try changing the |
|
file{'\n'}views/welcome/WelcomeText.ios.js. |
|
</Text> |
|
<Text style={styles.instructions}> |
|
Press Cmd+R to reload,{'\n'} |
|
Cmd+D or shake for dev menu. |
|
</Text> |
|
</View> |
|
); |
|
} |
|
} |
|
|
|
const styles = StyleSheet.create({ |
|
container: { |
|
flex: 1, |
|
justifyContent: 'center', |
|
alignItems: 'center', |
|
backgroundColor: 'white', |
|
padding: 20, |
|
}, |
|
welcome: { |
|
fontSize: 20, |
|
textAlign: 'center', |
|
margin: 16, |
|
}, |
|
instructions: { |
|
textAlign: 'center', |
|
color: '#333333', |
|
marginBottom: 12, |
|
}, |
|
});
|
|
|