import { defineComponent, inject, computed } from 'vue' const radio = defineComponent({ name: 'Radio', props: { value: [String, Number, Boolean], checked: { type: Boolean, defalut: false, validator(value) { return typeof value == 'boolean' }, }, disabled: Boolean, }, emits: [], setup(props, { slots }) { const radioGroupContext = inject('radioGroupContext', undefined) const checkState = computed(() => { return props.checked || props.value == radioGroupContext?.props?.value }) return () => (