Skip to content

Commit

Permalink
(PC-30885)[PRO] fix: fix dialogs displaying in storybook.
Browse files Browse the repository at this point in the history
  • Loading branch information
Amine Louveau authored and abouabdallaoui-pass committed Jan 7, 2025
1 parent 22351b1 commit 9262817
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pro/src/components/ConfirmDialog/ConfirmDialog.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export const Default: StoryObj<typeof ConfirmDialog> = {
confirmText: 'confirm',
cancelText: 'cancel',
children: 'lorem ipsum dolor sit amet',
open: true,
},
}

Expand All @@ -25,6 +26,7 @@ export const WithLoading: StoryObj<typeof ConfirmDialog> = {
cancelText: 'cancel',
children: 'lorem ipsum dolor sit amet',
isLoading: true,
open: true,
},
}

Expand All @@ -35,5 +37,6 @@ export const WithIcon: StoryObj<typeof ConfirmDialog> = {
cancelText: 'cancel',
children: 'lorem ipsum dolor sit amet',
icon: strokeTrashIcon,
open: true,
},
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export default {

export const Default: StoryObj<typeof RedirectDialog> = {
args: {
open: true,
title: 'title',
redirectText: 'Go to ...',
redirectLink: {
Expand Down

0 comments on commit 9262817

Please sign in to comment.