UNPKG

@hugeicons/vue

Version:

HugeIcons Pro Vue Component Library https://hugeicons.com

39 lines (36 loc) 1.41 kB
import _sfc_main from './HugeiconsIcon.vue2.js'; import { openBlock, createElementBlock, mergeProps, Fragment, renderList, createBlock, resolveDynamicComponent } from 'vue'; import _export_sfc from '../_virtual/_plugin-vue_export-helper.js'; const _hoisted_1 = ["width", "height", "color"]; function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { return openBlock(), createElementBlock("svg", mergeProps({ width: _ctx.computedSize, height: _ctx.computedSize, viewBox: `0 0 24 24`, xmlns: "http://www.w3.org/2000/svg", fill: "none", color: _ctx.color }, _ctx.$attrs), [ (openBlock(true), createElementBlock( Fragment, null, renderList(_ctx.currentIcon, (element, index) => { return openBlock(), createBlock( resolveDynamicComponent(element[0]), mergeProps({ key: index, ref_for: true }, _ctx.transformAttrs(element[1], _ctx.calculatedStrokeWidth)), null, 16 /* FULL_PROPS */ ); }), 128 /* KEYED_FRAGMENT */ )) ], 16, _hoisted_1); } var HugeiconsIcon = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/Users/mac/Documents/Projects/Hugeicons/monorepo/hugeicons/packages/vue/src/components/HugeiconsIcon.vue"]]); export { HugeiconsIcon as default }; //# sourceMappingURL=HugeiconsIcon.vue.js.map