From a6ff5eee45215effb3344cb5d631a27a7c0369aa Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Fri, 22 Sep 2023 19:34:01 +0200
Subject: refactor(components): rewrite form components

---
 .../organisms/forms/contact-form.stories.tsx       | 65 ----------------------
 1 file changed, 65 deletions(-)
 delete mode 100644 src/components/organisms/forms/contact-form.stories.tsx

(limited to 'src/components/organisms/forms/contact-form.stories.tsx')

diff --git a/src/components/organisms/forms/contact-form.stories.tsx b/src/components/organisms/forms/contact-form.stories.tsx
deleted file mode 100644
index 4df3db0..0000000
--- a/src/components/organisms/forms/contact-form.stories.tsx
+++ /dev/null
@@ -1,65 +0,0 @@
-import { ComponentMeta, ComponentStory } from '@storybook/react';
-import { ContactForm } from './contact-form';
-
-/**
- * ContactForm - Storybook Meta
- */
-export default {
-  title: 'Organisms/Forms',
-  component: ContactForm,
-  argTypes: {
-    className: {
-      control: {
-        type: 'text',
-      },
-      description: 'Set additional classnames to the form wrapper.',
-      table: {
-        category: 'Styles',
-      },
-      type: {
-        name: 'string',
-        required: false,
-      },
-    },
-    Notice: {
-      control: {
-        type: null,
-      },
-      description: 'A component to display a success or error message.',
-      table: {
-        category: 'Options',
-      },
-      type: {
-        name: 'function',
-        required: false,
-      },
-    },
-    sendMail: {
-      control: {
-        type: null,
-      },
-      description: 'A callback function to process the contact form data.',
-      table: {
-        category: 'Events',
-      },
-      type: {
-        name: 'function',
-        required: true,
-      },
-    },
-  },
-} as ComponentMeta<typeof ContactForm>;
-
-const Template: ComponentStory<typeof ContactForm> = (args) => (
-  <ContactForm {...args} />
-);
-
-/**
- * Forms Stories - Contact
- */
-export const Contact = Template.bind({});
-Contact.args = {
-  sendMail: async (_data, reset: () => void) => {
-    reset();
-  },
-};
-- 
cgit v1.2.3

