20 lines
448 B
TypeScript
20 lines
448 B
TypeScript
import type { Meta, StoryObj } from '@storybook/vue3-vite';
|
|
import OrderStatusBadge from './OrderStatusBadge.vue';
|
|
|
|
const meta: Meta<typeof OrderStatusBadge> = {
|
|
title: 'Orders/OrderStatusBadge',
|
|
component: OrderStatusBadge,
|
|
};
|
|
|
|
export default meta;
|
|
|
|
type Story = StoryObj<typeof OrderStatusBadge>;
|
|
|
|
export const InProgress: Story = {
|
|
args: { status: 'IN_PROGRESS' },
|
|
};
|
|
|
|
export const Completed: Story = {
|
|
args: { status: 'COMPLETED' },
|
|
};
|