import { defineComponent as s, createVNode as o, withDirectives as d, mergeProps as l, resolveDirective as p } from "vue";
import { Button as m } from "ant-design-vue";
const u = {
  type: {
    type: Object,
    default: "primary"
  }
}, f = "G";
const n = /* @__PURE__ */ s({
  name: `${f}AntdBtn`,
  props: u,
  emits: ["click"],
  setup(t, {
    slots: e,
    attrs: i,
    emit: c
  }) {
    const r = (a) => {
      c("click", a);
    };
    return () => o("div", {
      class: "antd-btn"
    }, [d(o(m, l(t, {
      onClick: r
    }), {
      default: () => [e.default && e.default()]
    }), [[p("bind"), i]])]);
  }
});
n.install = function(t, e) {
  t.component(e || n.name, n);
};
const v = {
  title: "AntdBtn 按钮",
  category: "通用",
  status: "100%",
  install(t) {
    t.component(n.name, n);
  }
};
export {
  n as AntdBtn,
  v as default
};
