import type { Meta, StoryObj } from '@storybook/react-vite'; import argTypes from '../../../.storybook/sgdsArgTypes'; import Accordion from './Accordion'; const meta = { title: 'Components/Accordion', component: Accordion, argTypes: { headingLevel: argTypes.headingLevel({ description: 'Heading level to use for the accordion items\' headings' }), hideOpenAll: { control: 'boolean', description: 'Do not show the \'open all\' button', type: 'boolean' }, children: { control: false } }, args: { children: <>

Veterans are entitled to the same healthcare as any citizen. And there are health care options and support available specifically for veterans.

If you have a health condition that's related to your service, you're entitled to priority treatment based on clinical need.

If you're looking for a job, there are several organisations that can help you find a job or develop new skills.

If you need help finding a place to live there's support specifically for veterans.

} } satisfies Meta; export default meta; type Story = StoryObj; export const Default: Story = { }; export const HideOpenAll: Story = { args: { hideOpenAll: true } } export const InvalidNoChildren: Story = { args: {children: undefined} }