Untitled

 avatar
unknown
html
a year ago
389 B
5
Indexable
<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>
Editor is loading...
Leave a Comment