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/plus-minus.stories.tsx | 36 ++---------------------
 1 file changed, 3 insertions(+), 33 deletions(-)

(limited to 'src/components/atoms/icons/plus-minus.stories.tsx')

diff --git a/src/components/atoms/icons/plus-minus.stories.tsx b/src/components/atoms/icons/plus-minus.stories.tsx
index 1b5086a..ffa28f2 100644
--- a/src/components/atoms/icons/plus-minus.stories.tsx
+++ b/src/components/atoms/icons/plus-minus.stories.tsx
@@ -4,44 +4,14 @@ import PlusMinusIcon from './plus-minus';
 export default {
   title: 'Atoms/Icons',
   component: PlusMinusIcon,
-  args: {
-    ariaHidden: true,
-  },
   argTypes: {
-    additionalClasses: {
-      control: {
-        type: 'text',
-      },
-      description: 'Set additional classes.',
-      table: {
-        category: 'Options',
-      },
-      type: {
-        name: 'string',
-        required: false,
-      },
-    },
-    ariaHidden: {
-      control: {
-        type: 'boolean',
-      },
-      description: 'Should be hidden for accessibility.',
-      table: {
-        category: 'Options',
-        defaultValue: { summary: true },
-      },
-      type: {
-        name: 'boolean',
-        required: false,
-      },
-    },
-    ariaLabel: {
+    className: {
       control: {
         type: 'text',
       },
-      description: 'An accessible name.',
+      description: 'Set additional classnames.',
       table: {
-        category: 'Options',
+        category: 'Styles',
       },
       type: {
         name: 'string',
-- 
cgit v1.2.3

