birdpaper-ui
Version:
一个通用的 vue3 UI组件库。A common vue3 UI component library.
25 lines (24 loc) • 1.08 kB
JavaScript
;
const link_vue_vue_type_script_lang = require("./link.vue2.js");
const vue = require("vue");
const _pluginVue_exportHelper = require("../../_virtual/_plugin-vue_export-helper.js");
const _hoisted_1 = ["disabled", "href", "target"];
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
const _component_IconLoader4Line = vue.resolveComponent("IconLoader4Line");
return vue.openBlock(), vue.createElementBlock("a", {
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleClick && _ctx.handleClick(...args)),
disabled: _ctx.disabled,
class: vue.normalizeClass(_ctx.clsName),
href: _ctx.href,
target: _ctx.target
}, [
_ctx.loading ? (vue.openBlock(), vue.createBlock(_component_IconLoader4Line, {
key: 0,
class: "left-icon bp-icon-loading",
size: "14px"
})) : vue.createCommentVNode("", true),
vue.renderSlot(_ctx.$slots, "default")
], 10, _hoisted_1);
}
const _link = /* @__PURE__ */ _pluginVue_exportHelper(link_vue_vue_type_script_lang, [["render", _sfc_render]]);
module.exports = _link;