From 48f50d65d90597737008025b86c71a84166805b5 Mon Sep 17 00:00:00 2001 From: Ryan Gossiaux Date: Thu, 30 Dec 2021 17:52:32 -1000 Subject: [PATCH] Expose and components After all, why not? Headless UI exposes them too, and now that I have some unit tests for them I feel more confident in it. --- src/lib/components/portal/index.ts | 2 ++ src/lib/index.js | 1 + 2 files changed, 3 insertions(+) create mode 100644 src/lib/components/portal/index.ts diff --git a/src/lib/components/portal/index.ts b/src/lib/components/portal/index.ts new file mode 100644 index 0000000..f5f79c3 --- /dev/null +++ b/src/lib/components/portal/index.ts @@ -0,0 +1,2 @@ +export { default as Portal } from "./Portal.svelte"; +export { default as PortalGroup } from "./PortalGroup.svelte"; diff --git a/src/lib/index.js b/src/lib/index.js index 9833079..9f3895a 100644 --- a/src/lib/index.js +++ b/src/lib/index.js @@ -7,3 +7,4 @@ export * from "./components/radio-group"; export * from "./components/switch"; export * from "./components/tabs"; export * from "./components/transitions"; +export * from "./components/portal";