Skip to content

Commit

Permalink
test: update badge stories
Browse files Browse the repository at this point in the history
  • Loading branch information
malangcat committed Dec 17, 2024
1 parent a497dd5 commit 3b2623c
Showing 1 changed file with 7 additions and 26 deletions.
33 changes: 7 additions & 26 deletions docs/stories/Badge.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,38 +15,19 @@ export default meta;

type Story = StoryObj<typeof meta>;

export const LightTheme: Story = {
const StoryTemplate: Story = {
args: {
children: "Badge",
children: "뱃지",
},
render: (args) => (
<VariantTable Component={meta.component} variantMap={badgeVariantMap} {...args} />
),
};

export const DarkTheme: Story = {
args: {
children: "Badge",
},
render: (args) => (
<VariantTable Component={meta.component} variantMap={badgeVariantMap} {...args} />
),
};
export const LightTheme = StoryTemplate;

export const FontScalingExtraSmall: Story = {
args: {
children: "Badge",
},
render: (args) => (
<VariantTable Component={meta.component} variantMap={badgeVariantMap} {...args} />
),
};
export const DarkTheme = StoryTemplate;

export const FontScalingExtraExtraExtraLarge: Story = {
args: {
children: "Badge",
},
render: (args) => (
<VariantTable Component={meta.component} variantMap={badgeVariantMap} {...args} />
),
};
export const FontScalingExtraSmall = StoryTemplate;

export const FontScalingExtraExtraExtraLarge = StoryTemplate;

0 comments on commit 3b2623c

Please sign in to comment.