import React from 'react' import { type Meta, type StoryObj } from '@storybook/react' import { Icon } from '~components/Icon' import { IconButton } from '../index' const meta = { title: 'Components/Button/IconButton (deprecated)', component: IconButton, argTypes: { icon: { options: ['MeatballsIcon', 'AddIcon'], control: { type: 'radio' }, mapping: { MeatballsIcon: , AddIcon: , }, }, }, args: { label: 'icon button', icon: , }, tags: ['!dev'], } satisfies Meta export default meta type Story = StoryObj export const Playground: Story = { parameters: { docs: { canvas: { sourceState: 'shown', }, }, }, }