import type { Meta, StoryObj } from '@storybook/react';
import Accordion from './Accordion';

const meta: Meta<typeof Accordion> = {
  title: 'Components/Accordion',
  component: Accordion,
  parameters: {
    layout: 'centered',
  },
  tags: ['autodocs'],
};

type Story = StoryObj<typeof Accordion>;
const defaultArgs = {
  headerTitle: 'Accordion',
};

export const SampleAccordion: Story = {
  args: {
    ...defaultArgs,
    headerTitle: 'Sample Accordion',
  },
};

export default meta;
