File tree 1 file changed +2
-2
lines changed
packages/components/src/confirmation-modal
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import { messages } from './messages'
10
10
const useMessage = createMessageHook ( messages )
11
11
12
12
/**
13
- * Confirmation modal component
13
+ * Confirmation Modal containers allow merchants to confirm an action through an overlay window that opens on top of the current page.
14
14
*
15
15
* @example
16
16
* const [open, setOpen] = useState(false)
@@ -56,10 +56,10 @@ export const ConfirmationModal = forwardRef<
56
56
< Content > { children } </ Content >
57
57
< Content narrow >
58
58
< Flex justify = "end" columnGap = "0.5rem" >
59
+ < Button onClick = { onCancel } > { getMessage ( 'cancel' ) } </ Button >
59
60
< Button onClick = { onConfirm } variant = "primary" >
60
61
{ getMessage ( 'confirm' ) }
61
62
</ Button >
62
- < Button onClick = { onCancel } > { getMessage ( 'cancel' ) } </ Button >
63
63
</ Flex >
64
64
</ Content >
65
65
</ Modal >
You can’t perform that action at this time.
0 commit comments