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