Skip to content

Commit 93d9745

Browse files
authored
Merge pull request #448 from mashmatrix/fix-modal-story
Fix modal story to correctly pass args to Modal component
2 parents 987281e + ef24c41 commit 93d9745

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stories/Modal.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export default meta;
101101
*
102102
*/
103103
export const ControlledWithKnobs: StoryObj<StoryProps> = {
104-
render: ({ childProps: { header, footer, content, ...args } }) => {
104+
render: ({ childProps: { header, footer, content }, ...args }) => {
105105
return (
106106
<Modal {...args}>
107107
{header ? <ModalHeader {...header} /> : []}

0 commit comments

Comments
 (0)