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/hamburger.stories.tsx | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/components/atoms/icons/hamburger.stories.tsx') diff --git a/src/components/atoms/icons/hamburger.stories.tsx b/src/components/atoms/icons/hamburger.stories.tsx index c145daf..062d3ee 100644 --- a/src/components/atoms/icons/hamburger.stories.tsx +++ b/src/components/atoms/icons/hamburger.stories.tsx @@ -5,6 +5,19 @@ export default { title: 'Atoms/Icons', component: HamburgerIcon, argTypes: { + className: { + control: { + type: 'text', + }, + description: 'Set additional classnames.', + table: { + category: 'Styles', + }, + type: { + name: 'string', + required: false, + }, + }, isActive: { control: { type: 'boolean', -- cgit v1.2.3