Skip to content

Commit

Permalink
fix: the badge size
Browse files Browse the repository at this point in the history
  • Loading branch information
mouracamila committed Apr 29, 2022
1 parent d056bec commit 14b25da
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/Badge/Badge.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,15 @@ export default {
component: Badge,
} as Meta;

const Template: Story<BadgeProps> = (args) => <Badge {...args} />;
const Template: Story<BadgeProps> = (args) => (
<div className="flex">
<Badge {...args} />
</div>
);

export const DefaultBadge = Template.bind({});
DefaultBadge.storyName = 'Default';

DefaultBadge.args = {
children: 'Default',
};

0 comments on commit 14b25da

Please sign in to comment.