tegarkurniawan

About.js

Sep 10th, 2017
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. import React, { Component } from 'react';
  2. import {
  3. StyleSheet,
  4. Text,
  5. View
  6. } from 'react-native';
  7.  
  8. export default class About extends Component {
  9. render(){
  10. return (
  11. <View style={styles.container}>
  12. <Text style={styles.welcome}>
  13. About Page
  14. </Text>
  15. </View>
  16. );
  17. }
  18. }
  19.  
  20. const styles = StyleSheet.create({
  21. container: {
  22. flex: 1,
  23. justifyContent: 'center',
  24. alignItems: 'center',
  25. backgroundColor: '#F5FCFF',
  26. },
  27. welcome: {
  28. fontSize: 20,
  29. textAlign: 'center',
  30. margin: 10,
  31. }
  32. });
Advertisement
Add Comment
Please, Sign In to add comment