UNPKG

bootstrap-vue

Version:

With more than 85 components, over 45 available plugins, several directives, and 1000+ icons, BootstrapVue provides one of the most comprehensive implementations of the Bootstrap v4 component and grid system available for Vue.js v2.6, complete with extens

31 lines (26 loc) 705 B
import { extend } from '../../vue' import { NAME_FORM_RADIO_GROUP } from '../../constants/components' import { makePropsConfigurable } from '../../utils/props' import { formRadioCheckGroupMixin, props as formRadioCheckGroupProps } from '../../mixins/form-radio-check-group' // --- Props --- export const props = makePropsConfigurable(formRadioCheckGroupProps, NAME_FORM_RADIO_GROUP) // --- Main component --- // @vue/component export const BFormRadioGroup = /*#__PURE__*/ extend({ name: NAME_FORM_RADIO_GROUP, mixins: [formRadioCheckGroupMixin], provide() { return { getBvRadioGroup: () => this } }, props, computed: { isRadioGroup() { return true } } })