mg-library 1.0.670 → 1.0.671
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 +16 -25
- package/package.json +1 -1
package/blocks.js
CHANGED
|
@@ -201,30 +201,6 @@ export function MGLogin(props) {
|
|
|
201
201
|
<MaterialCommunityIcons name='logout' color='white' size={20} />
|
|
202
202
|
);
|
|
203
203
|
|
|
204
|
-
/* let cardFooter = (
|
|
205
|
-
<View>
|
|
206
|
-
<NBButton
|
|
207
|
-
py={4} colorScheme="primary"
|
|
208
|
-
leftIcon={
|
|
209
|
-
<NBIcon as={MaterialCommunityIcons} name="login" size="lg" color="white" />
|
|
210
|
-
}
|
|
211
|
-
onPress={handleSubmit((data) => {
|
|
212
|
-
props.setNavigator(undefined);
|
|
213
|
-
mgLoginLib.onPressLogin(
|
|
214
|
-
props.dispatch,
|
|
215
|
-
props.actions,
|
|
216
|
-
props.app,
|
|
217
|
-
props.apiUrl,
|
|
218
|
-
props.language,
|
|
219
|
-
data);
|
|
220
|
-
})}>
|
|
221
|
-
<MGText category='p1' color='white'>
|
|
222
|
-
{mgFunctionsLib.i18nString('login', props.language)}
|
|
223
|
-
</MGText>
|
|
224
|
-
</NBButton>
|
|
225
|
-
</View>
|
|
226
|
-
); */
|
|
227
|
-
|
|
228
204
|
let cardFooter = (
|
|
229
205
|
<View>
|
|
230
206
|
<MGButton
|
|
@@ -655,7 +631,7 @@ export function MGPopover(props) {
|
|
|
655
631
|
);
|
|
656
632
|
}
|
|
657
633
|
|
|
658
|
-
export function MGGoBack(props) {
|
|
634
|
+
/* export function MGGoBack(props) {
|
|
659
635
|
return (
|
|
660
636
|
<View style={{ alignItems: 'flex-start', marginTop: 10 }}>
|
|
661
637
|
<NBButton
|
|
@@ -667,6 +643,21 @@ export function MGGoBack(props) {
|
|
|
667
643
|
</NBButton>
|
|
668
644
|
</View>
|
|
669
645
|
)
|
|
646
|
+
} */
|
|
647
|
+
|
|
648
|
+
export function MGGoBack(props) {
|
|
649
|
+
return (
|
|
650
|
+
<View style={{ alignItems: 'flex-start', marginTop: 10 }}>
|
|
651
|
+
<MGButton
|
|
652
|
+
icon="keyboard-backspace"
|
|
653
|
+
variant="ghost"
|
|
654
|
+
action="primary"
|
|
655
|
+
iconSize={28}
|
|
656
|
+
iconColor={props.colors.primary['500']}
|
|
657
|
+
onPress={() => props.process.goBack()}
|
|
658
|
+
/>
|
|
659
|
+
</View>
|
|
660
|
+
)
|
|
670
661
|
}
|
|
671
662
|
|
|
672
663
|
export function MGPressable({ children, style, activeOpacity, ...otherProps }) {
|