UNPKG

@empathyco/x-components

Version:
29 lines (26 loc) 1.05 kB
import _sfc_main from './base-result-current-price.vue2.js'; import { resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createVNode } from 'vue'; import _export_sfc from '../../_virtual/_plugin-vue_export-helper.js'; function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { const _component_BaseCurrency = resolveComponent("BaseCurrency"); return openBlock(), createElementBlock( "div", { class: normalizeClass([_ctx.dynamicClasses, "x-result-current-price"]), "data-test": "result-current-price" }, [ renderSlot(_ctx.$slots, "default", { result: _ctx.result }, () => [ createVNode(_component_BaseCurrency, { value: _ctx.result.price.value, format: _ctx.format }, null, 8, ["value", "format"]) ]) ], 2 /* CLASS */ ); } var baseResultCurrentPrice = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]); export { baseResultCurrentPrice as default }; //# sourceMappingURL=base-result-current-price.vue.js.map