Skip to content

Commit

Permalink
test(button): add an icon story
Browse files Browse the repository at this point in the history
  • Loading branch information
steveoh committed Dec 4, 2024
1 parent 11ef292 commit 5fdcd08
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/utah-design-system/src/components/Button.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type { Meta } from '@storybook/react';
import { BotIcon } from 'lucide-react';
import { Button as Component } from './Button';

const meta: Meta<typeof Component> = {
Expand Down Expand Up @@ -48,3 +49,10 @@ export const Destructive = {
variant: 'destructive',
},
};

export const Icon = {
args: {
variant: 'icon',
children: <BotIcon />,
},
};

0 comments on commit 5fdcd08

Please sign in to comment.