<script lang="ts" setup>
const props = defineProps(["modelValue"]);
</script>

<template>
    <input 
        type="checkbox"
        :checked="modelValue"
        @change="$emit('update:modelValue', ($event.target as HTMLInputElement)?.checked)"
        class="dark:bg-slate-900">
</template>