UNPKG

element-plus

Version:

A Component Library for Vue 3

34 lines (29 loc) 808 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var vue = require('vue'); var arrow = require('./arrow.js'); const __default__ = { name: "ElTooltipV2Arrow" }; const _sfc_main = /* @__PURE__ */ vue.defineComponent({ ...__default__, props: arrow.tooltipV2ArrowProps, setup(__props) { const props = __props; const arrowStyle = vue.computed(() => { return { position: "absolute", width: `${props.width}px`, height: `${props.height}px`, ...props.style || {} }; }); return (_ctx, _cache) => { return vue.openBlock(), vue.createElementBlock("div", { style: vue.normalizeStyle(vue.unref(arrowStyle)) }, null, 4); }; } }); exports["default"] = _sfc_main; //# sourceMappingURL=arrow2.js.map