Advertisement
Guest User

Untitled

a guest
Aug 24th, 2016
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. import React, { Component } from 'react';
  2. import {
  3. StyleSheet,
  4. Text,
  5. View
  6. } from 'react-native';
  7.  
  8. class TheCall extends Component {
  9. render() {
  10. return (
  11. <View style={styles.container}>
  12. <Text style={styles.welcome}>
  13. Welcome to React Native!
  14. </Text>
  15. <Text style={styles.instructions}>
  16. To get started, edit index.ios.js
  17. </Text>
  18. <Text style={styles.instructions}>
  19. Press Cmd+R to reload,{'\n'}
  20. Cmd+D or shake for dev menu
  21. </Text>
  22. </View>
  23. );
  24. }
  25. }
  26.  
  27. const styles = StyleSheet.create({
  28. container: {
  29. flex: 1,
  30. justifyContent: 'center',
  31. alignItems: 'center',
  32. backgroundColor: '#F5FCFF',
  33. },
  34. welcome: {
  35. fontSize: 20,
  36. textAlign: 'center',
  37. margin: 10,
  38. },
  39. instructions: {
  40. textAlign: 'center',
  41. color: '#333333',
  42. marginBottom: 5,
  43. },
  44. });
  45.  
  46. export default TheCall
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement