mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-09-07 10:47:50 +00:00
layer settings
This commit is contained in:
13
website/src/lib/components/ui/sheet/sheet-portal.svelte
Normal file
13
website/src/lib/components/ui/sheet/sheet-portal.svelte
Normal file
@@ -0,0 +1,13 @@
|
||||
<script lang="ts">
|
||||
import { Dialog as SheetPrimitive } from "bits-ui";
|
||||
import { cn } from "$lib/utils.js";
|
||||
|
||||
type $$Props = SheetPrimitive.PortalProps;
|
||||
|
||||
let className: $$Props["class"] = undefined;
|
||||
export { className as class };
|
||||
</script>
|
||||
|
||||
<SheetPrimitive.Portal class={cn(className)} {...$$restProps}>
|
||||
<slot />
|
||||
</SheetPrimitive.Portal>
|
Reference in New Issue
Block a user