SwipeRow.js 843 B

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