omnidash/src/routes/(user)/dashboard/(components)/data-table-checkbox.svelte

12 lines
366 B
Svelte

<script lang="ts">
import { Checkbox } from '$lib/components/ui/checkbox';
import type { HTMLButtonAttributes } from 'svelte/elements';
import type { Writable } from 'svelte/store';
type $$Props = HTMLButtonAttributes & {
checked: Writable<boolean>;
};
export let checked: Writable<boolean>;
</script>
<Checkbox bind:checked={$checked} {...$$restProps} />