Skip to content

Commit

Permalink
chore: IconButton stories naming from latest
Browse files Browse the repository at this point in the history
  • Loading branch information
panvourtsis committed Nov 29, 2023
1 parent c95da32 commit f090c4b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/components/IconButton/IconButton.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ it clickable and easily accessible.
IconButton with different types `primary, secondary, tertiary` and different shape types `circle, square` <br/>
There are 2 IconButton sizes, `normal` and `compact`.

<Canvas of={IconButtonStories.IconButtonTypes} />
<Canvas of={IconButtonStories.IconButtonTypesAndSizes} />

### Playground

<Canvas of={IconButtonStories.IconButtonPlayground} />
<Canvas of={IconButtonStories.Playground} />
8 changes: 4 additions & 4 deletions src/components/IconButton/IconButton.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default {
},
};

export const IconButtonTypes = {
export const IconButtonTypesAndSizes = {
render: () => (
<>
<Stack>
Expand All @@ -53,10 +53,10 @@ export const IconButtonTypes = {
</>
),

name: 'IconButton Types',
name: 'IconButton Types and Sizes',
};

export const IconButtonPlayground = {
export const Playground = {
render: () => (
<Stack>
<IconButton
Expand All @@ -74,5 +74,5 @@ export const IconButtonPlayground = {
</Stack>
),

name: 'IconButton Playground',
name: 'Playground',
};

0 comments on commit f090c4b

Please sign in to comment.