Revert "Storybook created"

This reverts commit acc572e6be.
This commit is contained in:
adilallo
2025-08-11 12:00:34 -06:00
parent acc572e6be
commit 4ef658a355
37 changed files with 13 additions and 4880 deletions
-86
View File
@@ -1,86 +0,0 @@
import { fn } from "storybook/test";
import Button from "../app/components/Button";
export default {
title: "Components/Button",
component: Button,
parameters: {
layout: "centered",
},
tags: ["autodocs"],
argTypes: {
variant: {
control: { type: "select" },
options: ["default", "secondary"],
},
size: {
control: { type: "select" },
options: ["xsmall", "small", "large", "xlarge"],
},
disabled: {
control: { type: "boolean" },
},
onClick: { action: "clicked" },
},
args: {
children: "Button",
variant: "default",
size: "small",
disabled: false,
},
};
export const Default = {
args: {
children: "Default Button",
},
};
export const Secondary = {
args: {
variant: "secondary",
children: "Secondary Button",
},
};
export const Large = {
args: {
size: "large",
children: "Large Button",
},
};
export const Small = {
args: {
size: "small",
children: "Small Button",
},
};
export const XSmall = {
args: {
size: "xsmall",
children: "XSmall Button",
},
};
export const XLarge = {
args: {
size: "xlarge",
children: "XLarge Button",
},
};
export const Disabled = {
args: {
disabled: true,
children: "Disabled Button",
},
};
export const AsLink = {
args: {
href: "#",
children: "Button as Link",
},
};