import { ComponentMeta, ComponentStory } from '@storybook/react'; import { IntlProvider } from 'react-intl'; import ThemeToggleComponent from './theme-toggle'; export default { title: 'Molecules/Forms', component: ThemeToggleComponent, argTypes: { value: { control: { type: null, }, description: 'The theme value.', type: { name: 'boolean', required: true, }, }, }, } as ComponentMeta; const Template: ComponentStory = (args) => ( ); export const ThemeToggle = Template.bind({}); ThemeToggle.args = { value: false, };