import { cs } from "../utils/styles.js";
import { useStyleConfig } from "../core/theme.js";
import vui from "../core/vui.js";
import Divider from "../divider/divider.js";
import { useHeaderContext } from "./context.js";
import { jsx } from "react/jsx-runtime";

//#region src/header/headerDivider.tsx
/** Vertical line dividing part of the Header content. */
const HeaderDivider = vui((props, ref) => {
	const { className, ...rest } = props;
	const styles = useStyleConfig("Header", useHeaderContext());
	return /* @__PURE__ */ jsx(Divider, {
		borderColor: "darkBlue.main",
		className: cs("vui-headerDivider", className),
		h: 40,
		isVertical: true,
		ref,
		...styles.divider,
		...rest
	});
});
HeaderDivider.displayName = "HeaderDivider";

//#endregion
export { HeaderDivider as default };
globalThis.__vuiVersion__ = "4.0.0"
//# sourceMappingURL=headerDivider.js.map