diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-04-08 19:32:58 +0200 | 
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-04-08 19:32:58 +0200 | 
| commit | 5c75a302c2203cb3ebf31233121026b4775662cf (patch) | |
| tree | efaaeb7805d9f211a5f01f920aaa3609648ddc0b /src/components/atoms/icons/posts-stack.stories.tsx | |
| parent | a1e8f1e4426ed3560ce1b76fb73a6969388ed253 (diff) | |
chore(icons): accept a classname as prop
Diffstat (limited to 'src/components/atoms/icons/posts-stack.stories.tsx')
| -rw-r--r-- | src/components/atoms/icons/posts-stack.stories.tsx | 15 | 
1 files changed, 15 insertions, 0 deletions
| diff --git a/src/components/atoms/icons/posts-stack.stories.tsx b/src/components/atoms/icons/posts-stack.stories.tsx index e2206c2..46bb39f 100644 --- a/src/components/atoms/icons/posts-stack.stories.tsx +++ b/src/components/atoms/icons/posts-stack.stories.tsx @@ -4,6 +4,21 @@ import PostsStackIcon from './posts-stack';  export default {    title: 'Atoms/Icons',    component: PostsStackIcon, +  argTypes: { +    className: { +      control: { +        type: 'text', +      }, +      description: 'Set additional classnames.', +      table: { +        category: 'Styles', +      }, +      type: { +        name: 'string', +        required: false, +      }, +    }, +  },  } as ComponentMeta<typeof PostsStackIcon>;  const Template: ComponentStory<typeof PostsStackIcon> = (args) => ( | 
