/*! © 2026 Yahoo, Inc. UDS v0.0.0-development */
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
require("../../_virtual/_rolldown/runtime.cjs");
const require_styles_styler = require("../../styles/styler.cjs");
const require_components_Text = require("../Text.cjs");
let react = require("react");
let react_jsx_runtime = require("react/jsx-runtime");
//#region src/components/Divider/DividerLabel.tsx
/**
* **The configured label element used by Divider.**
*
* @description
* DividerLabel applies the configured divider label typography and color.
*
* @category Layout
* @platform web
*/
const DividerLabel = (0, react.forwardRef)(function DividerLabel({ variant = "primary", textVariant = "inherit", color = "inherit", as = "span", className, ...textProps }, ref) {
	return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_components_Text.Text, {
		as,
		className: require_styles_styler.cx(variant !== "inherit" && require_styles_styler.getStyles({ dividerVariantLabel: variant }), className),
		color,
		ref,
		variant: textVariant,
		...textProps
	});
});
DividerLabel.displayName = "DividerLabel";
//#endregion
exports.DividerLabel = DividerLabel;
