ivue-material-plus
Version:
A high quality UI components Library with Vue.js
25 lines (22 loc) • 1.13 kB
JavaScript
import _sfc_main from './index.vue_vue_type_script_lang.mjs';
import { resolveComponent, openBlock, createBlock, normalizeStyle, createElementBlock, renderSlot } from 'vue';
import _export_sfc from '../../_virtual/_plugin-vue_export-helper.mjs';
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
const _component_ivue_svg_loader = resolveComponent("ivue-svg-loader");
return _ctx.svgSrc ? (openBlock(), createBlock(_component_ivue_svg_loader, {
key: 0,
class: "ivue-icon ivue-icon-image",
style: normalizeStyle(_ctx.styles),
svgSrc: _ctx.svgSrc,
onOnSvgLoaded: _ctx.handleSvgLoaded
}, null, 8, ["style", "svgSrc", "onOnSvgLoaded"])) : (openBlock(), createElementBlock("i", {
key: 1,
class: "ivue-icon ivue-icon-font",
style: normalizeStyle(_ctx.styles)
}, [
renderSlot(_ctx.$slots, "default")
], 4));
}
var IvueIcon = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:\\louise\\person\\project\\GitHub\\ivue-ui-plus\\src\\components\\ivue-icon\\index.vue"]]);
export { IvueIcon as default };
//# sourceMappingURL=index2.mjs.map