import {AppProviderComponent} from '../../../providers';
import {SwitchComponent as Switch} from './switch.component';
import type {Meta, StoryObj} from '@storybook/react';
import React from 'react';

const meta: Meta<typeof Switch> = {
    title: 'Molecules/Switch',
    component: Switch,
};
export default meta;

type Story = StoryObj<typeof Switch>;

export const Default: Story = {
    render: (args) => <Switch {...args} data-testid='switch' />,
    args: {
        size: 'sm',
        title: 'Remember me',
        hint: 'Save my login details for next time.',
    },
};
