birdpaper-icon
Version:
基于 Remix icon 生成的 Vue3 图标组件库
23 lines (22 loc) • 1.07 kB
JavaScript
import _sfc_main from "./icon-code-view.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: "m16.95 8.464 1.414-1.414 4.95 4.95-4.95 4.95-1.414-1.414L20.485 12 16.95 8.464Zm-9.9 0L3.515 12l3.535 3.536-1.414 1.414L.686 12l4.95-4.95L7.05 8.464Z" }, 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 _IconCodeView = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
export {
_IconCodeView as default
};