@empathyco/x-components
Version:
Empathy X Components
25 lines (22 loc) • 919 B
JavaScript
import _sfc_main from './base-toggle-panel.vue2.js';
import { openBlock, createBlock, resolveDynamicComponent, withCtx, createElementBlock, renderSlot, createCommentVNode } from 'vue';
import _export_sfc from '../../_virtual/_plugin-vue_export-helper.js';
const _hoisted_1 = {
key: 0,
class: "x-toggle-panel",
"data-test": "base-toggle-panel"
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return openBlock(), createBlock(resolveDynamicComponent(_ctx.animation), null, {
default: withCtx(() => [
_ctx.open ? (openBlock(), createElementBlock("div", _hoisted_1, [
renderSlot(_ctx.$slots, "default")
])) : createCommentVNode("v-if", true)
]),
_: 3
/* FORWARDED */
});
}
var BaseTogglePanel = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
export { BaseTogglePanel as default };
//# sourceMappingURL=base-toggle-panel.vue.js.map