mg-library 1.0.408 → 1.0.410
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 +8 -4
- package/package.json +1 -1
package/blocks.js
CHANGED
@@ -32,14 +32,15 @@ export function MGWelcome(props) {
|
|
32
32
|
|
33
33
|
let listHeaderComponent = (
|
34
34
|
<View>
|
35
|
+
<MGSessionHeader module={mgFunctionsLib.i18nString('notices', props.language)} person={props.person} theme={props.theme} />
|
36
|
+
{companyInfoComponent}
|
37
|
+
<MGDivider />
|
35
38
|
{props.beforeNotices != undefined &&
|
36
39
|
<>
|
37
40
|
{props.beforeNotices}
|
41
|
+
<MGDivider />
|
38
42
|
</>
|
39
|
-
}
|
40
|
-
<MGSessionHeader module={mgFunctionsLib.i18nString('notices', props.language)} person={props.person} theme={props.theme} />
|
41
|
-
{companyInfoComponent}
|
42
|
-
<MGDivider />
|
43
|
+
}
|
43
44
|
</View>
|
44
45
|
);
|
45
46
|
|
@@ -505,6 +506,9 @@ export function MGFlatListHeader(props) {
|
|
505
506
|
<View style={{ flexGrow: 1 }}>
|
506
507
|
{props.sessionHeader}
|
507
508
|
{props.goBack}
|
509
|
+
{props.beforeTitle != undefined &&
|
510
|
+
props.beforeTitle
|
511
|
+
}
|
508
512
|
<View style={{ marginHorizontal: 10, marginBottom: 20, paddingHorizontal: 10, paddingVertical: 10, borderColor: props.theme['color-primary-500'], borderRadius: 10, borderStyle: 'solid', borderWidth: 1 }}>
|
509
513
|
<Text category='h6' style={{ marginLeft: 10 }}>{props.title}</Text>
|
510
514
|
</View>
|