import type { Meta, StoryObj } from '@storybook/sveltekit'; import InfoAccordion from './InfoAccordion.svelte'; const meta = { title: 'Molecules/InfoAccordion', component: InfoAccordion, tags: ['autodocs'], args: { title: 'Wie läuft das Verfahren ab?', body: 'Der Regionalplan wird ausgelegt, Einwendungen sind bis zum Fristende möglich.', }, } satisfies Meta; export default meta; type Story = StoryObj; export const Geschlossen: Story = {}; export const Offen: Story = { args: { open: true } }; export const Warnung: Story = { args: { variant: 'amber', iconName: 'lucide:alert-triangle', title: 'Frist endet bald', open: true }, };