diff --git a/src/components/Modal/index.ts b/src/components/Modal/index.ts index 02782b1..ac64520 100644 --- a/src/components/Modal/index.ts +++ b/src/components/Modal/index.ts @@ -1,3 +1,4 @@ import Modal from "./Modal"; +import useModal from "./useModal"; -export default Modal; +export { Modal, useModal }; diff --git a/src/components/ThemeProvider/index.ts b/src/components/ThemeProvider/index.ts new file mode 100644 index 0000000..a4e6eb6 --- /dev/null +++ b/src/components/ThemeProvider/index.ts @@ -0,0 +1,4 @@ +import { useThemeContext } from "./ThemeContext"; +import ThemeWrapper from "./ThemeWrapper"; + +export { useThemeContext, ThemeWrapper }; diff --git a/src/components/index.ts b/src/components/index.ts new file mode 100644 index 0000000..dc6483e --- /dev/null +++ b/src/components/index.ts @@ -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";