import type { Meta, StoryObj } from '@storybook/react' import { Progress } from '@/components/ui/progress' const meta = { title: 'Data/Progress', component: Progress, tags: ['autodocs'], parameters: { layout: 'centered' }, argTypes: { value: { control: { type: 'range', min: 0, max: 100, step: 1 }, }, }, decorators: [ (Story) => (
), ], } satisfies Meta export default meta type Story = StoryObj export const Default: Story = { args: { value: 60, }, } export const Empty: Story = { args: { value: 0, }, } export const Quarter: Story = { args: { value: 25, }, } export const Half: Story = { args: { value: 50, }, } export const ThreeQuarters: Story = { args: { value: 75, }, } export const Complete: Story = { args: { value: 100, }, } export const AllStages: Story = { render: () => (
0%
25%
50%
75%
100%
), }