diff --git a/packages/ui/src/components/markdown/Markdown.svelte b/packages/ui/src/components/markdown/Markdown.svelte index eaad006..20bf649 100644 --- a/packages/ui/src/components/markdown/Markdown.svelte +++ b/packages/ui/src/components/markdown/Markdown.svelte @@ -1,15 +1,18 @@ + + + {@render children?.()} + + diff --git a/packages/ui/src/components/ui/scroll-area/scroll-area.svelte b/packages/ui/src/components/ui/scroll-area/scroll-area.svelte new file mode 100644 index 0000000..cf6610c --- /dev/null +++ b/packages/ui/src/components/ui/scroll-area/scroll-area.svelte @@ -0,0 +1,34 @@ + + + + + {@render children?.()} + + {#if orientation === "vertical" || orientation === "both"} + + {/if} + {#if orientation === "horizontal" || orientation === "both"} + + {/if} + + diff --git a/packages/ui/src/index.ts b/packages/ui/src/index.ts index aec9634..2e36d7c 100644 --- a/packages/ui/src/index.ts +++ b/packages/ui/src/index.ts @@ -15,4 +15,5 @@ export { default as RetroGrid } from "./components/animation/RetroGrid.svelte" export { default as AuroraText } from "./components/animation/AuroraText.svelte" export * as Constants from "./constants" export * as Form from "./components/ui/form" +export * as ScrollArea from "./components/ui/scroll-area" export { default as ModeToggle } from "./components/theme/mode-toggle.svelte"