From 61278678ea8a8febee0574cd0f6006492d7b15cb Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Fri, 8 Apr 2022 22:34:24 +0200
Subject: chore: add a AckeeSelect component

---
 .../molecules/forms/ackee-select.stories.tsx       | 32 ++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 src/components/molecules/forms/ackee-select.stories.tsx

(limited to 'src/components/molecules/forms/ackee-select.stories.tsx')

diff --git a/src/components/molecules/forms/ackee-select.stories.tsx b/src/components/molecules/forms/ackee-select.stories.tsx
new file mode 100644
index 0000000..a59bfa9
--- /dev/null
+++ b/src/components/molecules/forms/ackee-select.stories.tsx
@@ -0,0 +1,32 @@
+import { ComponentMeta, ComponentStory } from '@storybook/react';
+import { IntlProvider } from 'react-intl';
+import AckeeSelectComponent from './ackee-select';
+
+export default {
+  title: 'Molecules/Forms',
+  component: AckeeSelectComponent,
+  argTypes: {
+    initialValue: {
+      control: {
+        type: 'select',
+      },
+      description: 'Initial selected option.',
+      options: ['full', 'partial'],
+      type: {
+        name: 'string',
+        required: true,
+      },
+    },
+  },
+} as ComponentMeta<typeof AckeeSelectComponent>;
+
+const Template: ComponentStory<typeof AckeeSelectComponent> = (args) => (
+  <IntlProvider locale="en">
+    <AckeeSelectComponent {...args} />
+  </IntlProvider>
+);
+
+export const AckeeSelect = Template.bind({});
+AckeeSelect.args = {
+  initialValue: 'full',
+};
-- 
cgit v1.2.3

