Skip to content

Commit

Permalink
issue #307 refactor: unused story delete
Browse files Browse the repository at this point in the history
  • Loading branch information
sikkzz committed Jul 17, 2024
1 parent 0e3fe8f commit 0963660
Showing 1 changed file with 0 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import Button from "@/components/Button/Button";

import { containerStyle, informationStyle } from "@/stories/styles";

import type { ButtonProps } from "@/components/Button/Button";

const meta = {
title: "Button",
component: Button,
Expand All @@ -32,17 +30,6 @@ const meta = {
export default meta;
type Button = StoryObj<typeof meta>;

const createButtonStory = (variant: ButtonProps["variant"]) => ({
args: {
variant,
},
argTypes: {
variant: {
control: false,
},
},
});

export const Variants: Button = {
render: ({ size, children }) => (
<ul css={containerStyle}>
Expand Down Expand Up @@ -120,13 +107,3 @@ export const Sizes: Button = {
},
},
};

export const Default: Button = createButtonStory("default");

export const Disabled: Button = createButtonStory("disabled");

export const White: Button = createButtonStory("white");

export const Outline: Button = createButtonStory("outline");

export const Danger: Button = createButtonStory("danger");

0 comments on commit 0963660

Please sign in to comment.