Untitled

mail@pastecode.io avatar
unknown
html
7 months ago
389 B
1
Indexable
Never
<script lang="ts">
	import { Dialog as DialogPrimitive } from "bits-ui"
	type $$Props = DialogPrimitive.ContentProps

	let className: $$Props["class"] = undefined
	export { className as class }
</script>

<DialogPrimitive.Close
	class="disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground"
	{...$$restProps}
>
	<slot />
</DialogPrimitive.Close>
Leave a Comment