"use client";
import { StyledLabel, getPropDefaults } from "./base/Label.js";
import { toReactNodes } from "../../utils/toReactNodes/toReactNodes.js";
import { jsx } from "@emotion/react/jsx-runtime";
//#region src/components/typography/Label.tsx
function Label(props) {
	const propsWithDefaults = getPropDefaults(props);
	let reactNodes = props.children || null;
	if (props.content) reactNodes = toReactNodes(props.content);
	return /* @__PURE__ */ jsx(StyledLabel, {
		...propsWithDefaults,
		children: reactNodes
	});
}
//#endregion
export { Label };
