From 5c75a302c2203cb3ebf31233121026b4775662cf Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Fri, 8 Apr 2022 19:32:58 +0200 Subject: chore(icons): accept a classname as prop --- src/components/atoms/icons/posts-stack.stories.tsx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/components/atoms/icons/posts-stack.stories.tsx') 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; const Template: ComponentStory = (args) => ( -- cgit v1.2.3