mg-library 1.0.425 → 1.0.427
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 +6 -1
- package/mg-library.rar +0 -0
- package/package.json +1 -1
package/blocks.js
CHANGED
@@ -66,7 +66,9 @@ export function MGWelcome(props) {
|
|
66
66
|
return (
|
67
67
|
<>
|
68
68
|
<View style={{ flex: 1, flexDirection: 'column', marginVertical: 10, marginHorizontal: 10 }}>
|
69
|
-
|
69
|
+
{item.isImportant &&
|
70
|
+
<MaterialCommunityIcons style={{ flex: 1 }} name='alert-circle-outline' color={props.theme['color-primary-500']} size={30} />
|
71
|
+
}
|
70
72
|
<Text style={{ flex: 1 }} category='h6'>{item.description}</Text>
|
71
73
|
<Text style={{ flex: 1, marginBottom: 10 }} category='c1'>{mgFunctionsLib.getDateForExposition(item.noticeDate, props.language)}, {item.noticeTime._asTime()}</Text>
|
72
74
|
</View>
|
@@ -539,6 +541,9 @@ export function MGFlatListHeader(props) {
|
|
539
541
|
<View style={{ marginHorizontal: 10, marginBottom: 20, paddingHorizontal: 10, paddingVertical: 10, borderColor: props.theme['color-primary-500'], borderRadius: 10, borderStyle: 'solid', borderWidth: 1 }}>
|
540
542
|
<Text category='h6' style={{ marginLeft: 10 }}>{props.title}</Text>
|
541
543
|
</View>
|
544
|
+
{props.afterTitle != undefined &&
|
545
|
+
props.afterTitle
|
546
|
+
}
|
542
547
|
</View>
|
543
548
|
)
|
544
549
|
}
|
package/mg-library.rar
ADDED
Binary file
|