Format files and fix unused code, reactive collection usage, redundant mustaches, and missing each-block keys.
9 lines
280 B
Svelte
9 lines
280 B
Svelte
<script lang="ts">
|
|
import { Dialog as DialogPrimitive, type WithoutChildrenOrChild } from 'bits-ui';
|
|
|
|
let { open = $bindable(false), ...restProps }: WithoutChildrenOrChild<DialogPrimitive.RootProps> =
|
|
$props();
|
|
</script>
|
|
|
|
<DialogPrimitive.Root bind:open {...restProps} />
|