Stories scaffolding

This commit is contained in:
Hazem Krimi
2025-03-18 17:12:38 +01:00
parent 13f88a09b3
commit dadf638631
55 changed files with 596 additions and 1189 deletions
+28
View File
@@ -0,0 +1,28 @@
import type { Meta, StoryObj } from '@storybook/react';
import Card from '.';
const meta = {
title: 'Card',
component: Card,
parameters: {
layout: 'centered',
},
tags: ['autodocs'],
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
},
};