import { cs } from "../utils/styles.js";
import { useStyleConfig } from "../core/theme.js";
import vui from "../core/vui.js";
import Box from "../box/box.js";
import { useFooterContext } from "./context.js";
import { jsx } from "react/jsx-runtime";

//#region src/footer/footerContent.tsx
/** Controls max-width of the content and centers itself horizontally. */
const FooterContent = vui((props, ref) => {
	const { className, ...rest } = props;
	const styles = useStyleConfig("Footer", useFooterContext());
	return /* @__PURE__ */ jsx(Box, {
		className: cs("vui-footerContent", className),
		column: true,
		fontSize: {
			xs: 12,
			sm: 12,
			md: 14
		},
		maxW: {
			xs: 344,
			sm: 412,
			md: 780,
			lg: 782,
			xl: 888
		},
		mx: "auto",
		ref,
		w: "100%",
		...styles.content,
		...rest
	});
});
FooterContent.displayName = "FooterContent";

//#endregion
export { FooterContent as default };
globalThis.__vuiVersion__ = "4.0.0-beta.1"
//# sourceMappingURL=footerContent.js.map