import { defineComponent, useSlots, resolveComponent, createBlock, openBlock, normalizeProps, guardReactiveProps, createSlots, withCtx, unref, renderSlot } from 'vue';
import { radioButtonProps } from './radioButton.mjs';

var _sfc_main = /* @__PURE__ */ defineComponent({
  ...{
    name: "GmRadioButton"
  },
  __name: "RadioButton",
  props: radioButtonProps,
  setup(__props) {
    const slots = useSlots();
    const props = __props;
    return (_ctx, _cache) => {
      const _component_el_radio_button = resolveComponent("el-radio-button");
      return openBlock(), createBlock(
        _component_el_radio_button,
        normalizeProps(guardReactiveProps(props)),
        createSlots({
          _: 2
          /* DYNAMIC */
        }, [
          unref(slots).default ? {
            name: "default",
            fn: withCtx((slotValue) => [
              renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotValue)))
            ]),
            key: "0"
          } : void 0
        ]),
        1040
        /* FULL_PROPS, DYNAMIC_SLOTS */
      );
    };
  }
});

export { _sfc_main as default };
//# sourceMappingURL=RadioButton.vue2.mjs.map
