@empathyco/x-components
Version:
Empathy X Components
34 lines (31 loc) • 1.02 kB
JavaScript
import _sfc_main from './search-button.vue2.js';
import { openBlock, createElementBlock, normalizeClass, renderSlot, createElementVNode } from 'vue';
import _export_sfc from '../../../_virtual/_plugin-vue_export-helper.js';
const _hoisted_1 = /* @__PURE__ */ createElementVNode(
"span",
{ class: "x-icon" },
"⌕",
-1
/* HOISTED */
);
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return openBlock(), createElementBlock(
"button",
{
ref: "buttonRef",
class: normalizeClass(["x-search-button x-button", _ctx.dynamicClasses]),
"data-test": "search-button",
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.emitEvents && _ctx.emitEvents(...args))
},
[
renderSlot(_ctx.$slots, "default", {}, () => [
_hoisted_1
])
],
2
/* CLASS */
);
}
var searchButton = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
export { searchButton as default };
//# sourceMappingURL=search-button.vue.js.map