From 5c75a302c2203cb3ebf31233121026b4775662cf Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Fri, 8 Apr 2022 19:32:58 +0200
Subject: chore(icons): accept a classname as prop

---
 src/components/atoms/icons/magnifying-glass.stories.tsx | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

(limited to 'src/components/atoms/icons/magnifying-glass.stories.tsx')

diff --git a/src/components/atoms/icons/magnifying-glass.stories.tsx b/src/components/atoms/icons/magnifying-glass.stories.tsx
index 69c5b50..80e183e 100644
--- a/src/components/atoms/icons/magnifying-glass.stories.tsx
+++ b/src/components/atoms/icons/magnifying-glass.stories.tsx
@@ -4,6 +4,21 @@ import MagnifyingGlassIcon from './magnifying-glass';
 export default {
   title: 'Atoms/Icons',
   component: MagnifyingGlassIcon,
+  argTypes: {
+    className: {
+      control: {
+        type: 'text',
+      },
+      description: 'Set additional classnames.',
+      table: {
+        category: 'Styles',
+      },
+      type: {
+        name: 'string',
+        required: false,
+      },
+    },
+  },
 } as ComponentMeta<typeof MagnifyingGlassIcon>;
 
 const Template: ComponentStory<typeof MagnifyingGlassIcon> = (args) => (
-- 
cgit v1.2.3

