From c7b134621301227ead150d30fe9b222487a356b7 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Thu, 7 Apr 2022 11:51:59 +0200
Subject: chore: add a PrismThemeToggle component

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

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

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

