import type { Meta, StoryObj } from '@storybook/react'
import TabsDemo from './tabs.composition'
import { TRIGGER_VARIANT_MAP } from './tabs'
const meta = {
  title: 'Tab',
  component: TabsDemo,
  tags: ['autodocs'],
  argTypes: {
    variant: {
      control: 'select',
      options: ['선택하지 않음', ...Object.keys(TRIGGER_VARIANT_MAP)],
    },
  },
} satisfies Meta<typeof TabsDemo>

export default meta
type Story = StoryObj<typeof meta>

export const segment: Story = {
  args: {
    variant: 'segment',
  },
}

export const line: Story = {
  args: {
    variant: 'line',
  },
}
