feat: use withDefaults for BaseCheckbox
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
66be016a7f
commit
94a907b009
@ -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<{
|
||||
|
Loading…
x
Reference in New Issue
Block a user