From e9af53795824eb14505f1c0584bc1de802c65aff Mon Sep 17 00:00:00 2001 From: shoaibv2 Date: Sat, 30 Apr 2022 21:14:26 +0500 Subject: [PATCH] Change Location (#19) --- apps/views/pages/Toast.tsx | 2 +- .../kbs-core/src => apps/views/pages}/components/Toast.tsx | 0 apps/views/pages/index.tsx | 2 +- packages/kbs-core/src/index.tsx | 3 +-- 4 files changed, 3 insertions(+), 4 deletions(-) rename {packages/kbs-core/src => apps/views/pages}/components/Toast.tsx (100%) 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 };