Skip to content

Commit

Permalink
refactor: badgeVariantList common 폴더 index에서 export
Browse files Browse the repository at this point in the history
[#17]
  • Loading branch information
yunchaehyun committed Nov 28, 2023
1 parent 9761832 commit 4c4583b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import Link from "next/link";

import { GIT_BOOK_URL } from "../../../constants/path";
import { Accordion, Badge } from "../../../design-system/components/common";
import { badgeVariantList } from "../../../design-system/components/common/Badge/Badge";
import { Accordion, Badge , badgeVariantList } from "../../../design-system/components/common";

import badgeGroupLayout from "./CommandAccordion.css";

Expand All @@ -11,7 +10,6 @@ interface CommandAccordionProps {
items: string[];
}


export default function CommandAccordion({
width = "100%",
items,
Expand All @@ -32,4 +30,4 @@ export default function CommandAccordion({
</Accordion.Details>
</Accordion>
);
}
}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { Badge } from "./Badge";
export { Badge, badgeVariantList } from "./Badge";
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export { default as Header } from "./Header";
export { default as Button } from "./Button";
export { default as Modal } from "./Modal";
export { default as SideBar } from "./SideBar";
export { Badge } from "./Badge";
export { Badge, badgeVariantList } from "./Badge";
export { toast, ToastContainer } from "./Toast";
export { Accordion, useAccordion } from "./Accordion";
export { default as Footer } from "./Footer";

0 comments on commit 4c4583b

Please sign in to comment.