Files
ploi-core/public/build/assets/TextDivider-47b152ef.js
Dennis 741104de05 wip
2023-09-28 08:21:44 +02:00

29 lines
1.1 KiB
JavaScript
Vendored

import { o as openBlock, c as createElementBlock, h as renderSlot, e as createCommentVNode, b as createBaseVNode } from "./app-422355c4.js";
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
const _sfc_main = {
props: {
withoutText: {
type: Boolean,
default: false
}
}
};
const _hoisted_1 = { class: "relative flex items-center justify-center" };
const _hoisted_2 = /* @__PURE__ */ createBaseVNode("div", { class: "absolute inset-x-0 w-full border-t border-low-emphasis" }, null, -1);
const _hoisted_3 = {
key: 0,
class: "relative px-2 py-1 bg-surface-1 text-body text-medium-emphasis"
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
return openBlock(), createElementBlock("div", _hoisted_1, [
_hoisted_2,
!$props.withoutText ? (openBlock(), createElementBlock("div", _hoisted_3, [
renderSlot(_ctx.$slots, "default")
])) : createCommentVNode("", true)
]);
}
const TextDivider = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
export {
TextDivider as T
};