Skip to content

Commit

Permalink
chore(storybook): update usage of ...args to just args
Browse files Browse the repository at this point in the history
  • Loading branch information
mgadewoll committed Mar 20, 2024
1 parent bf82586 commit a9445a6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/modal/confirm_modal.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,5 @@ export const Playground: Story = {
onCancel,
onConfirm,
},
render: ({ ...args }) => <StatefulConfirmModal {...args} />,
render: (args) => <StatefulConfirmModal {...args} />,
};
2 changes: 1 addition & 1 deletion src/components/modal/modal.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,5 @@ export const Playground: Story = {
</>
),
},
render: ({ ...args }) => <StatefulModal {...args} />,
render: (args) => <StatefulModal {...args} />,
};
2 changes: 1 addition & 1 deletion src/components/overlay_mask/overlay_mask.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ const StatefulPlayground = (props: EuiOverlayMaskProps) => {
};

export const Playground: Story = {
render: ({ ...args }) => <StatefulPlayground {...args} />,
render: (args) => <StatefulPlayground {...args} />,
};

0 comments on commit a9445a6

Please sign in to comment.