mg-library 1.0.516 → 1.0.517
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/blocks.js +5 -5
- package/package.json +1 -1
package/blocks.js
CHANGED
@@ -142,13 +142,13 @@ export function MGBenefits(props) {
|
|
142
142
|
renderItem={({ item }) => (
|
143
143
|
<Card header={cardHeader(item)} style={{ marginBottom: 10, marginHorizontal: 10 }}>
|
144
144
|
{item.imageUrl != undefined &&
|
145
|
-
<View style={{ flexGrow: 1, alignItems: 'center'
|
146
|
-
<Image source={{ uri: item.imageUrl }} style={{ width: '
|
145
|
+
<View style={{ flexGrow: 1, alignItems: 'center' }}>
|
146
|
+
<Image source={{ uri: item.imageUrl }} style={{ width: '50%', resizeMode: 'contain', height: undefined, aspectRatio: 1 }} />
|
147
147
|
</View>
|
148
148
|
}
|
149
|
-
<
|
150
|
-
<Text
|
151
|
-
</
|
149
|
+
<View style={{ flexGrow: 1, alignItems: 'center', marginBottom: 10 }}>
|
150
|
+
<Text>{item.content}</Text>
|
151
|
+
</View>
|
152
152
|
</Card>
|
153
153
|
)}
|
154
154
|
ListHeaderComponent={listHeaderComponent}
|