mg-library 1.0.724 → 1.0.726
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/components.js +4 -4
- package/package.json +1 -1
package/components.js
CHANGED
|
@@ -172,7 +172,7 @@ export function MGPopover(props) {
|
|
|
172
172
|
const footer = (
|
|
173
173
|
<Box flexDirection="row" justifyContent="space-around" mt="$5" mb="$5">
|
|
174
174
|
<MGButton
|
|
175
|
-
title={
|
|
175
|
+
title={mgFunctionsLib.i18nString("yes", props.language)}
|
|
176
176
|
action="primary"
|
|
177
177
|
variant="solid"
|
|
178
178
|
py="$4"
|
|
@@ -182,7 +182,7 @@ export function MGPopover(props) {
|
|
|
182
182
|
}}
|
|
183
183
|
/>
|
|
184
184
|
<MGButton
|
|
185
|
-
title={
|
|
185
|
+
title={mgFunctionsLib.i18nString("no", props.language)}
|
|
186
186
|
action="primary"
|
|
187
187
|
variant="outline"
|
|
188
188
|
py="$4"
|
|
@@ -195,7 +195,7 @@ export function MGPopover(props) {
|
|
|
195
195
|
isOpen={open}
|
|
196
196
|
onOpenChange={setOpen}
|
|
197
197
|
trigger={(triggerProps) => (
|
|
198
|
-
<Button {...triggerProps} action="primary" variant="solid"
|
|
198
|
+
<Button {...triggerProps} action="primary" variant="solid">
|
|
199
199
|
{props.icon ? (
|
|
200
200
|
<Icon as={MaterialCommunityIcons} name={props.icon} mr="$2" color="$white" />
|
|
201
201
|
) : null}
|
|
@@ -211,7 +211,7 @@ export function MGPopover(props) {
|
|
|
211
211
|
<Box alignItems="center" justifyContent="center">
|
|
212
212
|
<Icon as={MaterialCommunityIcons} name="alert-outline" size={16} color="$primary500" mb="$3" />
|
|
213
213
|
<MGText textAlign="center">
|
|
214
|
-
{
|
|
214
|
+
{mgFunctionsLib.i18nString("confirm", props.language)}?
|
|
215
215
|
</MGText>
|
|
216
216
|
</Box>
|
|
217
217
|
</PopoverBody>
|