Bring back autodocs

This commit is contained in:
2025-04-07 21:49:32 +01:00
parent d61379ac2d
commit cb13c7ba70
19 changed files with 28 additions and 15 deletions
+2 -1
View File
@@ -8,6 +8,7 @@ const meta = {
parameters: {
layout: 'centered',
},
tags: ['autodocs'],
argTypes: {
color: { options: ['primary', 'secondary', 'tertiary'] },
text: { control: 'text' },
@@ -21,7 +22,7 @@ type Story = StoryObj<typeof meta>;
export const Example: Story = {
args: {
color: 'tertiary',
color: 'primary',
text: 'Hello, World!',
variant: 'filled'
},