Files
web/packages/design-system/lib/components/ChipButton/ChipButton.stories.tsx
Michael Zetterberg 56973888c9 feat(SW-375): new tokens
new asset generation logic

BREAKING CHANGE: New tokens.
2025-03-07 07:24:37 +00:00

34 lines
650 B
TypeScript

import type { Meta, StoryObj } from '@storybook/react'
import { fn } from '@storybook/test'
import { ChipButton } from './ChipButton.tsx'
import ChevronRightSmallIcon from '../Icons/ChevronRightSmall.tsx'
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 <ChevronRightSmallIcon width={20} height={20} />
</>
),
},
}