@etsoo/react 1.4.56 → 1.4.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -63,7 +63,9 @@ export function MobileListItemRenderer({ data, itemHeight, margins }, renderer)
63
63
  } })) : (actions), title: title, titleTypographyProps: { variant: 'body2' }, subheader: subheader, subheaderTypographyProps: { variant: 'caption' } }),
64
64
  React.createElement(CardContent, { sx: {
65
65
  paddingTop: 0,
66
- paddingBottom: cardActions == null ? margins : 0
66
+ paddingBottom: cardActions == null
67
+ ? Reflect.get(margins, 'marginBottom')
68
+ : 0
67
69
  } }, children),
68
70
  cardActions));
69
71
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/react",
3
- "version": "1.4.56",
3
+ "version": "1.4.57",
4
4
  "description": "TypeScript ReactJs framework",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -104,7 +104,10 @@ export function MobileListItemRenderer<T>(
104
104
  <CardContent
105
105
  sx={{
106
106
  paddingTop: 0,
107
- paddingBottom: cardActions == null ? margins : 0
107
+ paddingBottom:
108
+ cardActions == null
109
+ ? Reflect.get(margins, 'marginBottom')
110
+ : 0
108
111
  }}
109
112
  >
110
113
  {children}