import type { Meta, StoryObj } from '@storybook/angular';

import { CheckboxComponent } from './../../lib/atoms/checkbox/checkbox.component';

// More on how to set up stories at: https://storybook.js.org/docs/writing-stories
const meta: Meta<CheckboxComponent> = {
  title: 'Atoms/Checkbox',
  component: CheckboxComponent,
  tags: ['autodocs'],
  argTypes: {
    checked: {
      description: 'Emitted when the checkbox is clicked',
      table: {
        category: 'Outputs',
        type: { summary: 'EventEmitter<Boolean>', detail: 'Emits true if checked, false otherwise' },
      },      
    }
  },

};

export default meta;
type Story = StoryObj<CheckboxComponent>;

export const Checkbox: Story = {}; 

