import type { Meta, StoryObj } from '@storybook/react-vite'; import { fn } from 'storybook/test'; import { NotificationToggle } from '../../src/ui/NotificationToggle/NotificationToggle'; const meta: Meta = { title: 'UI/NotificationToggle', component: NotificationToggle, parameters: { layout: 'centered' }, tags: ['autodocs'], args: { onToggle: fn() }, }; export default meta; type Story = StoryObj; export const Off: Story = { args: { state: 'off' } }; export const On: Story = { args: { state: 'on' } }; export const Blocked: Story = { args: { state: 'blocked' } };