From bce0ef162cc93c2576607c9a23c6f792c88eb02b Mon Sep 17 00:00:00 2001 From: okorie2 Date: Tue, 3 Sep 2024 15:22:02 +0100 Subject: [PATCH] fix: fix button stories control --- src/components/buttons/button.stories.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/components/buttons/button.stories.ts b/src/components/buttons/button.stories.ts index 8d87af7..5319930 100644 --- a/src/components/buttons/button.stories.ts +++ b/src/components/buttons/button.stories.ts @@ -11,8 +11,15 @@ const meta = { tags: ["autodocs"], argTypes: { backgroundColor: { control: "color" }, + radius: { + control: { type: "select" }, + options: ["rounded", "sharp", "circle"], + }, + size: { + control: { type: "radio" }, + options: ["small", "medium", "large"], + }, }, - args: { onClick: fn() }, } satisfies Meta; export default meta;