Skip to content

Commit

Permalink
Fix icon before story name
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentSmedinga committed Oct 25, 2024
1 parent 14e77ab commit be0a106
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion storybook/src/components/Button/Button.docs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ The icon will appear after the label.

The icon can also appear before the label.

<Canvas of={ButtonStories.WithiconBefore} />
<Canvas of={ButtonStories.WithIconBefore} />

### With icon only

Expand Down
2 changes: 1 addition & 1 deletion storybook/src/components/Button/Button.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export const WithIcon: Story = {
},
}

export const WithiconBefore: Story = {
export const WithIconBefore: Story = {
args: {
children: 'Sluiten',
icon: Icons.CloseIcon,
Expand Down

0 comments on commit be0a106

Please sign in to comment.