mirror of
https://github.com/bartvdbraak/omnidash.git
synced 2025-05-03 02:11:20 +00:00
12 lines
366 B
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} />
|