SwipeRow.js 917 B

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