import type { Meta, StoryObj } from '@storybook/react-vite' import { Accordion } from './Accordion' const meta = { title: 'Navigation/Accordion', component: Accordion, tags: ['autodocs'], parameters: { docs: { description: { component: 'A controlled-friendly disclosure primitive for showing related content without overwhelming the page.', }, }, }, args: { items: [ { title: 'What is a component story?', content: 'A focused example of one component with specific props, states, and surrounding context.', }, { title: 'Why document states?', content: 'A component is only complete when its loading, empty, error, and success states are clear.', }, { title: 'How do I add my own?', content: 'Create a .stories.tsx file beside the component and use the same Meta and StoryObj patterns.', }, ], }, } satisfies Meta export default meta type Story = StoryObj export const Default: Story = {} export const Multiple: Story = { args: { allowMultiple: true, }, }