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

import { fn } from '@storybook/test'

import { ChipButton } from './ChipButton.tsx'
import { MaterialSymbol } from 'react-material-symbols'

const meta: Meta<typeof ChipButton> = {
  title: 'Components/Chip/ChipButton 🚧',
  component: ChipButton,
  argTypes: {
    onPress: {
      table: {
        disable: true,
      },
    },
  },
}

export default meta

type Story = StoryObj<typeof ChipButton>

export const Default: Story = {
  args: {
    onPress: fn(),
    children: (
      <>
        Button Chip
        <MaterialSymbol icon="chevron_right" size={20} />
      </>
    ),
  },
}
