Skip to content

Commit

Permalink
chore: components 폴더 index.ts 정리
Browse files Browse the repository at this point in the history
Co-Authored-By: 박유현 <[email protected]>
  • Loading branch information
yunchaehyun and YuHyun-P committed Jan 25, 2024
1 parent 8937a44 commit 68a59c0
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Modal/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import Modal from "./Modal";
import useModal from "./useModal";

export default Modal;
export { Modal, useModal };
4 changes: 4 additions & 0 deletions src/components/ThemeProvider/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import { useThemeContext } from "./ThemeContext";
import ThemeWrapper from "./ThemeWrapper";

export { useThemeContext, ThemeWrapper };
10 changes: 10 additions & 0 deletions src/components/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
export { Accordion, useAccordion } from "./Accordion";
export { Badge, badgeVariantList } from "./Badge";
export { default as Button } from "./Button";
export { CodeBlock } from "./CodeBlock";
export { default as IconButton } from "./IconButton";
export { default as Info } from "./Info";
export { default as LinkButton } from "./LinkButton";
export { Modal, useModal } from "./Modal";
export { useThemeContext, ThemeWrapper } from "./ThemeProvider";
export { toast, ToastContainer } from "./Toast";

0 comments on commit 68a59c0

Please sign in to comment.