mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-04-27 22:05:54 +00:00
12 lines
276 B
Svelte
12 lines
276 B
Svelte
<script lang="ts">
|
|
import { Dialog as DialogPrimitive } from "bits-ui";
|
|
|
|
let {
|
|
ref = $bindable(null),
|
|
type = "button",
|
|
...restProps
|
|
}: DialogPrimitive.CloseProps = $props();
|
|
</script>
|
|
|
|
<DialogPrimitive.Close bind:ref data-slot="dialog-close" {type} {...restProps} />
|