diff --git a/apps/views/pages/Toast.tsx b/apps/views/pages/Toast.tsx index 02d026d..75dc369 100644 --- a/apps/views/pages/Toast.tsx +++ b/apps/views/pages/Toast.tsx @@ -1,4 +1,4 @@ -import { Toasts } from "kbs-core"; +import Toasts from "./components/Toast"; function Toast() { return ( diff --git a/packages/kbs-core/src/components/Toast.tsx b/apps/views/pages/components/Toast.tsx similarity index 100% rename from packages/kbs-core/src/components/Toast.tsx rename to apps/views/pages/components/Toast.tsx diff --git a/apps/views/pages/index.tsx b/apps/views/pages/index.tsx index 53a22ab..28137f6 100644 --- a/apps/views/pages/index.tsx +++ b/apps/views/pages/index.tsx @@ -16,7 +16,7 @@ export default function Docs() {

- Toasts + Toasts ); } diff --git a/packages/kbs-core/src/index.tsx b/packages/kbs-core/src/index.tsx index fd15022..165de09 100644 --- a/packages/kbs-core/src/index.tsx +++ b/packages/kbs-core/src/index.tsx @@ -1,4 +1,3 @@ import * as React from "react"; -import Toasts from "./components/Toast"; + export { Button, type ButtonProps } from "./Button"; -export { Toasts };