21 lines
301 B
JavaScript

import { use } from '../utils';
const [sfc, bem] = use('radio-group');
export default sfc({
props: {
value: null,
disabled: Boolean
},
watch: {
value(value) {
this.$emit('change', value);
}
},
render(h) {
return <div class={bem()}>{this.slots()}</div>;
}
});