vuetify
Version:
Vue Material Component Framework
24 lines • 759 B
JavaScript
import { createVNode as _createVNode, mergeProps as _mergeProps, resolveDirective as _resolveDirective } from "vue";
// Components
import { makeSelectionControlProps, VSelectionControl } from "../VSelectionControl/VSelectionControl.mjs"; // Utilities
import { genericComponent, useRender } from "../../util/index.mjs"; // Types
export const VRadio = genericComponent()({
name: 'VRadio',
props: {
...makeSelectionControlProps({
falseIcon: '$radioOff',
trueIcon: '$radioOn'
})
},
setup(props, _ref) {
let {
slots
} = _ref;
useRender(() => _createVNode(VSelectionControl, _mergeProps(props, {
"class": "v-radio",
"type": "radio"
}), slots));
return {};
}
});
//# sourceMappingURL=VRadio.mjs.map