From 826b0ce3efcf87ae1d231e892db176f5e64b7b97 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Wed, 6 Apr 2022 23:50:10 +0200
Subject: chore: add a ThemeToggle component

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

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

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

