import type { Meta, StoryObj } from '@storybook/web-components-vite'; import { html } from 'lit'; import type { USACheckboxElement } from './checkbox.element.js'; // More on how to set up stories at: https://storybook.js.org/docs/writing-stories const meta = { title: 'usa-checkbox', tags: ['autodocs'], argTypes: {}, args: {}, } satisfies Meta; export default meta; type Story = StoryObj; // More on writing stories with args: https://storybook.js.org/docs/writing-stories/args export const Primary: Story = { render(args) { return html` I agree to the above terms and conditions `; }, args: { checked: false, name: 'toc', value: 'agree', disabled: false, required: false, }, }; export const Group: Story = { render() { return html` Select any historical figure Sojourner Truth Frederick Douglass Booker T. Washington George Washington Carver `; }, }; export const Tiled: Story = { render() { return html` Select any historical figure Sojourner Truth This is optional text that can be used to describe the label in more detail. Frederick Douglass Booker T. Washington George Washington Carver `; }, };