mirror of
https://github.com/hazemKrimi/crimson-quirks-ui.git
synced 2026-05-01 18:20:28 +00:00
28 lines
516 B
TypeScript
28 lines
516 B
TypeScript
import type { Meta, StoryObj } from '@storybook/react';
|
|
|
|
import Card from '.';
|
|
|
|
const meta = {
|
|
title: 'Card',
|
|
component: Card,
|
|
parameters: {
|
|
layout: 'centered',
|
|
},
|
|
argTypes: {
|
|
color: { options: ['client', 'productOwner', 'developer', 'admin', 'error'] },
|
|
},
|
|
} satisfies Meta<typeof Card>;
|
|
|
|
export default meta;
|
|
|
|
type Story = StoryObj<typeof meta>;
|
|
|
|
export const Example: Story = {
|
|
args: {
|
|
color: 'developer',
|
|
title: 'Card title',
|
|
description: 'Card description',
|
|
selected: true
|
|
},
|
|
};
|