react-native-boxes 1.4.3 → 1.4.4
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.
- package/package.json +1 -1
- package/src/List.tsx +4 -8
package/package.json
CHANGED
package/src/List.tsx
CHANGED
|
@@ -66,15 +66,13 @@ export function SimpleDatatlistViewItem(props: SimpleDatatableViewItemProps & Vi
|
|
|
66
66
|
style={[{
|
|
67
67
|
margin: 0,
|
|
68
68
|
marginBottom: theme.dimens.space.sm,
|
|
69
|
-
padding: theme.dimens.space.
|
|
69
|
+
padding: theme.dimens.space.md,
|
|
70
70
|
alignItems: 'center',
|
|
71
71
|
flexDirection: 'row',
|
|
72
72
|
justifyContent: 'space-evenly'
|
|
73
73
|
}, props.style]}>
|
|
74
74
|
|
|
75
75
|
<Box style={{
|
|
76
|
-
margin: 0,
|
|
77
|
-
padding: 0,
|
|
78
76
|
justifyContent: 'center',
|
|
79
77
|
alignContent: 'center',
|
|
80
78
|
alignItems: 'center',
|
|
@@ -88,8 +86,6 @@ export function SimpleDatatlistViewItem(props: SimpleDatatableViewItemProps & Vi
|
|
|
88
86
|
}} />}
|
|
89
87
|
</Box>
|
|
90
88
|
<VBox style={{
|
|
91
|
-
margin: 0,
|
|
92
|
-
padding: 0,
|
|
93
89
|
//@ts-ignore
|
|
94
90
|
paddingStart: flexRatio.left > 1 ? theme.dimens.space.md : 0,
|
|
95
91
|
width: `${percentages.middle}%`,
|
|
@@ -109,9 +105,9 @@ export function SimpleDatatlistViewItem(props: SimpleDatatableViewItemProps & Vi
|
|
|
109
105
|
paddingTop: theme.dimens.space.sm,
|
|
110
106
|
}}>{props.subtitle}</TextView>)}
|
|
111
107
|
{props.body && (<Caption style={{
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
}}>{props.body}</Caption>)}
|
|
108
|
+
margin: 0,
|
|
109
|
+
padding: 0
|
|
110
|
+
}} >{props.body}</Caption>)}
|
|
115
111
|
</VBox>
|
|
116
112
|
<Box style={{
|
|
117
113
|
alignItems: 'flex-end',
|