UNPKG

@arco-design/web-vue

Version:

Arco Design Vue 2.0: A Vue.js 3 UI Library

43 lines (42 loc) 1.11 kB
"use strict"; var vue = require("vue"); var globalConfig = require("../_utils/global-config.js"); var pluginVue_exportHelper = require("../_virtual/plugin-vue_export-helper.js"); const _sfc_main = vue.defineComponent({ name: "IconHover", props: { prefix: { type: String }, size: { type: String, default: "medium" }, disabled: { type: Boolean, default: false } }, setup() { const prefixCls = globalConfig.getPrefixCls("icon-hover"); return { prefixCls }; } }); function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { return vue.openBlock(), vue.createElementBlock("span", { class: vue.normalizeClass([ _ctx.prefixCls, { [`${_ctx.prefix}-icon-hover`]: _ctx.prefix, [`${_ctx.prefixCls}-size-${_ctx.size}`]: _ctx.size !== "medium", [`${_ctx.prefixCls}-disabled`]: _ctx.disabled } ]) }, [ vue.renderSlot(_ctx.$slots, "default") ], 2); } var IconHover = /* @__PURE__ */ pluginVue_exportHelper(_sfc_main, [["render", _sfc_render]]); module.exports = IconHover;