feat: use withDefaults for BaseCheckbox
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Dominik Pschenitschni 2024-06-17 20:24:35 +02:00 committed by konrad
parent 66be016a7f
commit 94a907b009

View File

@ -30,15 +30,11 @@
import {ref} from 'vue'
import {createRandomID} from '@/helpers/randomId'
defineProps({
modelValue: {
type: Boolean,
default: false,
},
disabled: {
type: Boolean,
default: false,
},
withDefaults(defineProps<{
modelValue?: boolean,
disabled: boolean,
}>(), {
modelValue: false,
})
const emit = defineEmits<{