SwipeRow.js 1003 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. // @flow
  2. import variable from "./../variables/platform";
  3. export default (variables /*: * */ = variable) => {
  4. const swipeRowTheme = {
  5. "NativeBase.ListItem": {
  6. ".list": {
  7. backgroundColor: "#FFF",
  8. },
  9. marginLeft: 0,
  10. },
  11. "NativeBase.Left": {
  12. flex: 0,
  13. alignSelf: null,
  14. alignItems: null,
  15. "NativeBase.Button": {
  16. flex: 1,
  17. alignItems: "center",
  18. justifyContent: "center",
  19. alignSelf: "stretch",
  20. borderRadius: 0,
  21. },
  22. },
  23. "NativeBase.Right": {
  24. flex: 0,
  25. alignSelf: null,
  26. alignItems: null,
  27. "NativeBase.Button": {
  28. flex: 1,
  29. alignItems: "center",
  30. justifyContent: "center",
  31. alignSelf: "stretch",
  32. borderRadius: 0,
  33. },
  34. },
  35. "NativeBase.Button": {
  36. flex: 1,
  37. height: null,
  38. alignItems: "center",
  39. justifyContent: "center",
  40. alignSelf: "stretch",
  41. borderRadius: 0,
  42. },
  43. };
  44. return swipeRowTheme;
  45. };