Advertisement
tamsenmckerley

codehs said gay rights.

Apr 24th, 2019
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None | 0 0
  1. import React, { Component } from 'react';
  2. import { AppRegistry, Text, View, StyleSheet } from 'react-native';
  3. import { Constants } from 'expo';
  4.  
  5. export default class App extends Component {
  6. render() {
  7. return (
  8. <View style={styles.container}>
  9. <View style={styles.red}>
  10. </View>
  11. <View style={styles.orange}>
  12. </View>
  13. <View style={styles.yellow}>
  14. </View>
  15. <View style={styles.green}>
  16. </View>
  17. <View style={styles.blue}>
  18. </View>
  19. <View style={styles.indigo}>
  20. </View>
  21. <View style={styles.violet}>
  22. </View>
  23. </View>
  24. );
  25. }
  26. }
  27.  
  28. const styles = StyleSheet.create({
  29. container: {
  30. flex: 1,
  31. },
  32. red: {
  33. flex: 1,
  34. backgroundColor: 'red',
  35. },
  36. orange: {
  37. flex: 1,
  38. backgroundColor: 'orange',
  39. },
  40. yellow: {
  41. flex: 1,
  42. backgroundColor: 'yellow',
  43. },
  44. green: {
  45. flex: 1,
  46. backgroundColor: 'green',
  47. },
  48. blue: {
  49. flex: 1,
  50. backgroundColor: 'blue',
  51. },
  52. indigo: {
  53. flex: 1,
  54. backgroundColor: 'indigo',
  55. },
  56. violet: {
  57. flex: 1,
  58. backgroundColor: 'violet',
  59. },
  60. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement