Skip to content

Commit 37b2aee

Browse files
chore(confirmation-modal): update jsDoc and action buttons positions
1 parent 37293a7 commit 37b2aee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/components/src/confirmation-modal/confirmation-modal.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { messages } from './messages'
1010
const useMessage = createMessageHook(messages)
1111

1212
/**
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.
1414
*
1515
* @example
1616
* const [open, setOpen] = useState(false)
@@ -56,10 +56,10 @@ export const ConfirmationModal = forwardRef<
5656
<Content>{children}</Content>
5757
<Content narrow>
5858
<Flex justify="end" columnGap="0.5rem">
59+
<Button onClick={onCancel}>{getMessage('cancel')}</Button>
5960
<Button onClick={onConfirm} variant="primary">
6061
{getMessage('confirm')}
6162
</Button>
62-
<Button onClick={onCancel}>{getMessage('cancel')}</Button>
6363
</Flex>
6464
</Content>
6565
</Modal>

0 commit comments

Comments
 (0)