birdpaper-icon
Version:
基于 Remix icon 生成的 Vue3 图标组件库
23 lines (22 loc) • 1.14 kB
JavaScript
import _sfc_main from "./icon-formula.vue2.js";
import { openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode } from "vue";
import _export_sfc from "../_virtual/_plugin-vue_export-helper.js";
const _hoisted_1 = ["fill"];
const _hoisted_2 = /* @__PURE__ */ createElementVNode("path", { d: "M10 2a4 4 0 0 0-4 4v3H3v2h3v7a2 2 0 0 1-2 2H3v2h1a4 4 0 0 0 4-4v-7h3V9H8V6a2 2 0 0 1 2-2h1V2h-1Zm5.202 14.997L11.891 21h2.595l2.014-2.434L18.514 21h2.595l-3.311-4.003L21.105 13h-2.596L16.5 15.428 14.491 13h-2.595l3.306 3.997Z" }, null, -1);
const _hoisted_3 = [
_hoisted_2
];
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return openBlock(), createElementBlock("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
class: normalizeClass(_ctx.iconClass),
style: normalizeStyle(_ctx.innerStyle),
fill: _ctx.fill,
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClick && _ctx.onClick(...args))
}, _hoisted_3, 14, _hoisted_1);
}
const _IconFormula = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
export {
_IconFormula as default
};