blob: 5970afd5737faf93bab5773d9ddc7146e4c7260a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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({});
|