UNPKG

@veracity/vui

Version:

Veracity UI is a React component library crafted for use within Veracity applications and pages. Based on Styled Components and @xstyled.

40 lines (38 loc) 999 B
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, FooterContent as default }; globalThis.__vuiVersion__ = "5.3.1" //# sourceMappingURL=footerContent.js.map