Skip to content

Commit

Permalink
Merge pull request #694 from sparcs-kaist/#693-docs-using-storybook
Browse files Browse the repository at this point in the history
#693 docs using storybook
  • Loading branch information
14KGun authored Dec 13, 2023
2 parents a955134 + 1657121 commit 8f8f0e0
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions src/components/Footer/index.stories.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import type { Meta, StoryObj } from "@storybook/react";

import Footer from "./index";

const meta: Meta<typeof Footer> = {
component: Footer,
parameters: {
layout: "centered",
},
argTypes: {
type: {
control: {
type: "select",
options: ["only-logo", "full", "event-2023fall"],
},
},
},
};

export default meta;

type Story = StoryObj<typeof Footer>;

export const Primary: Story = {
args: {
type: "full",
},
render: (args) => <Footer {...args}></Footer>,
};

0 comments on commit 8f8f0e0

Please sign in to comment.