Advertisement
Guest User

Untitled

a guest
Jan 17th, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.58 KB | None | 0 0
  1. import React, { Component } from "react";
  2. import { Center } from "@builderx/utils";
  3. import Button4 from "../symbols/button4";
  4. import Button2 from "../symbols/button2";
  5. import { View, StyleSheet, Text } from "react-native";
  6.  
  7. export default class Untitled extends Component {
  8. render() {
  9. return (
  10. <View style={styles.root}>
  11. <Center horizontal>
  12. <View style={styles.rect}>
  13. <Text style={styles.orsTxt}>Order Summary</Text>
  14. <View style={styles.rect2}>
  15. <View style={styles.rect3}>
  16. <View style={styles.rect5} />
  17. <View style={styles.rect6} />
  18. <View style={styles.rect7} />
  19. </View>
  20. <View style={styles.rect4}>
  21. <View style={styles.rect8} />
  22. <View style={styles.rect9} />
  23. <View style={styles.rect10} />
  24. </View>
  25. </View>
  26. <View style={styles.buttons}>
  27. <View style={styles.confirm}>
  28. <Button4 style={styles.confirmBtn} />
  29. </View>
  30. <View style={styles.cancel}>
  31. <Button2 style={styles.cancelBtn} />
  32. </View>
  33. </View>
  34. </View>
  35. </Center>
  36. </View>
  37. );
  38. }
  39. }
  40. const styles = StyleSheet.create({
  41. root: {
  42. backgroundColor: "white",
  43. flex: 1
  44. },
  45. rect: {
  46. height: 242.08,
  47. width: 310,
  48. position: "absolute",
  49. backgroundColor: "rgb(230,230,230)",
  50. borderRadius: 15,
  51. flexDirection: "column",
  52. justifyContent: "space-around",
  53. top: "27.67%",
  54. alignItems: "baseline"
  55. },
  56. rect2: {
  57. width: 307,
  58. height: 148,
  59. backgroundColor: "rgb(230,230,230)",
  60. flexDirection: "row"
  61. },
  62. rect3: {
  63. flex: 0.5,
  64. flexDirection: "column"
  65. },
  66. rect4: {
  67. flex: 0.5,
  68. flexDirection: "column"
  69. },
  70. rect5: {
  71. flex: 0.33
  72. },
  73. rect6: {
  74. flex: 0.33
  75. },
  76. rect7: {
  77. flex: 0.34
  78. },
  79. rect8: {
  80. flex: 0.33,
  81. backgroundColor: "rgb(216, 216, 216)"
  82. },
  83. rect9: {
  84. flex: 0.33
  85. },
  86. rect10: {
  87. flex: 0.34
  88. },
  89. buttons: {
  90. width: 307,
  91. height: 55,
  92. flexDirection: "row"
  93. },
  94. confirm: {
  95. flex: 0.5,
  96. alignItems: "center"
  97. },
  98. confirmBtn: {
  99. width: 86,
  100. height: 44
  101. },
  102. cancel: {
  103. flex: 0.5,
  104. alignItems: "center"
  105. },
  106. cancelBtn: {
  107. width: 86,
  108. height: 44
  109. },
  110. orsTxt: {
  111. backgroundColor: "transparent",
  112. fontSize: 30,
  113. marginLeft: 21,
  114. marginTop: 9,
  115. color: "rgba(255,255,255,1)"
  116. }
  117. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement