import { extend } from '../../vue';
import { NAME_FORM_RADIO } from '../../constants/components';
import { props as props$1, formRadioCheckMixin } from '../../mixins/form-radio-check';

// --- Props ---

const props = props$1;

// --- Main component ---

// @vue/component
const BFormRadio = /*#__PURE__*/extend({
  name: NAME_FORM_RADIO,
  mixins: [formRadioCheckMixin],
  inject: {
    getBvGroup: {
      from: 'getBvRadioGroup',
      default: () => () => null
    }
  },
  props,
  computed: {
    bvGroup() {
      return this.getBvGroup();
    }
  }
});

export { BFormRadio, props };
