import {CheckboxComponent as Checkbox} from './checkbox.component';
import type {Meta, StoryObj} from '@storybook/react';
import React from 'react';

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

type Story = StoryObj<typeof Checkbox>;

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