Skip to content

Commit

Permalink
🎨 수미코드리뷰 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
woobottle committed Dec 26, 2023
1 parent 09baba2 commit 4c8fd9f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 28 deletions.
31 changes: 3 additions & 28 deletions src/components/Badge/Badge.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { css } from '@/styled-system/css';
import type { Meta, StoryObj } from '@storybook/react';

import Badge from './Badge';
Expand Down Expand Up @@ -33,44 +32,20 @@ type Story = StoryObj<typeof meta>;
export const Purple: Story = {
args: {
color: 'purple',
children: (
<span
className={css({
textStyle: 'body5',
})}
>
badge
</span>
),
children: 'badge',
},
};

export const Gray: Story = {
args: {
color: 'gray',
children: (
<span
className={css({
textStyle: 'body5',
})}
>
badge
</span>
),
children: 'badge',
},
};

export const Red: Story = {
args: {
color: 'red',
children: (
<span
className={css({
textStyle: 'body5',
})}
>
badge
</span>
),
children: 'badge',
},
};
1 change: 1 addition & 0 deletions src/components/Badge/Badge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const badgeStyle = cva({
flexDirection: 'column',
justifyContent: 'center',
alignItems: 'center',
textStyle: 'body5',
},
variants: {
color: {
Expand Down

0 comments on commit 4c8fd9f

Please sign in to comment.