UNPKG

birdpaper-icon

Version:

基于 Remix icon 生成的 Vue3 图标组件库

23 lines (22 loc) 1.14 kB
import _sfc_main from "./icon-code-block.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: "m3.414 6 2.293-2.293-1.414-1.414L.586 6l3.707 3.707 1.414-1.414L3.414 6Zm6.172 0L7.293 3.707l1.414-1.414L12.414 6 8.707 9.707 7.293 8.293 9.586 6ZM14 3h7a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-8h2v7h16V5h-6V3Z" }, 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 _IconCodeBlock = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]); export { _IconCodeBlock as default };