import { Status } from '@shared/types/Course'; import type { Meta, StoryObj } from '@storybook/react'; import CourseStatus from '@views/components/common/CourseStatus'; import React from 'react'; const meta = { title: 'Components/Common/CourseStatus', component: CourseStatus, parameters: { layout: 'centered', }, tags: ['autodocs'], args: { status: Status.WAITLISTED, size: 'small', }, argTypes: { status: { options: Object.values(Status), mapping: Object.values(Status), control: { type: 'select', labels: Object.keys(Status), }, }, size: { options: ['small', 'mini'], control: { type: 'radio', }, }, }, } satisfies Meta; export default meta; type Story = StoryObj; export const Default: Story = {}; export const Variants: Story = { render: args => (
), };