Skip to content

Commit

Permalink
Merge pull request #8 from zimmerman-team/fix/story-control
Browse files Browse the repository at this point in the history
fix: fix button stories control
  • Loading branch information
okorie2 authored Sep 25, 2024
2 parents 04f747a + bce0ef1 commit 77cce82
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/components/buttons/button.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<typeof Button>;

export default meta;
Expand Down

0 comments on commit 77cce82

Please sign in to comment.