Skip to content

Commit 769067c

Browse files
authored
docs(Dialog): fix docs (controls) crash (#7645)
It seems Storybook can't handle JSX as control value anymore. As it doesn't really make sense to make it controllable anyways, disabling it is fine (imo).
1 parent 6b3d932 commit 769067c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/main/src/webComponents/Dialog/Dialog.stories.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const meta = {
1111
argTypes: {
1212
footer: { control: { disable: true } },
1313
header: { control: { disable: true } },
14+
children: { control: { disable: true } },
1415
},
1516
args: {
1617
children: (

0 commit comments

Comments
 (0)