29 lines
1.1 KiB
JavaScript
Vendored
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.2c3b9863.js";
|
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper.cdc0426e.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
|
|
};
|