Skip to content

Commit

Permalink
add: PageIndex 컴포넌트에 대한 스토리 작성
Browse files Browse the repository at this point in the history
  • Loading branch information
heonq committed Oct 26, 2024
1 parent 65579f0 commit 56dab0b
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/stories/PageIndex.stories.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { useState } from "react";
import PageIndex from "../components/common/PageIndex";

export default {
title: "Common/PageIndex",
component: PageIndex,
tags: ["autodoc"],
};

const Template = () => {
const [page, setPage] = useState(1);
return <PageIndex {...{ page, setPage }} />;
};

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

0 comments on commit 56dab0b

Please sign in to comment.