import type {Meta, StoryObj} from '@storybook/web-components'; import {ObcToggleButtonGroup} from './toggle-button-group'; import './toggle-button-group'; import '../toggle-button-option/toggle-button-option'; import {html} from 'lit'; import '../../icons/icon-placeholder'; // More on how to set up stories at: https://storybook.js.org/docs/web-components/writing-stories/introduction const meta: Meta = { title: 'Button/Toggle button', tags: ['autodocs'], args: { value: '1', }, parameters: { actions: { handles: ['value'], }, }, argTypes: { value: { options: ['1', '2', '3'], control: {type: 'select'}, }, }, render: (args) => html`
Option 1 Option 2 Option 3
`, } satisfies Meta; export default meta; type Story = StoryObj; // More on writing stories with args: https://storybook.js.org/docs/web-components/writing-stories/args export const WithLabels: Story = {}; export const WithoutLabels: Story = { render: (args) => html`
`, };