From 2d5d015d23409b456e36a0370466ee42aa47631f Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Thu, 7 Apr 2022 11:58:33 +0200
Subject: chore: add a MotionToggle component

---
 src/components/molecules/forms/motion-toggle.stories.tsx | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 src/components/molecules/forms/motion-toggle.stories.tsx

(limited to 'src/components/molecules/forms/motion-toggle.stories.tsx')

diff --git a/src/components/molecules/forms/motion-toggle.stories.tsx b/src/components/molecules/forms/motion-toggle.stories.tsx
new file mode 100644
index 0000000..4fc199a
--- /dev/null
+++ b/src/components/molecules/forms/motion-toggle.stories.tsx
@@ -0,0 +1,16 @@
+import { ComponentMeta, ComponentStory } from '@storybook/react';
+import { IntlProvider } from 'react-intl';
+import MotionToggleComponent from './motion-toggle';
+
+export default {
+  title: 'Molecules/Forms',
+  component: MotionToggleComponent,
+} as ComponentMeta<typeof MotionToggleComponent>;
+
+const Template: ComponentStory<typeof MotionToggleComponent> = (args) => (
+  <IntlProvider locale="en">
+    <MotionToggleComponent {...args} />
+  </IntlProvider>
+);
+
+export const MotionToggle = Template.bind({});
-- 
cgit v1.2.3

