@veracity/vui
Version:
Veracity UI is a React component library crafted for use within Veracity applications and pages. Based on Styled Components and @xstyled.
31 lines (29 loc) • 831 B
JavaScript
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/footerRow.tsx
/** Organizes Footer content into a row of multuple columns. */
const FooterRow = vui((props, ref) => {
const { className, ...rest } = props;
const styles = useStyleConfig("Footer", useFooterContext());
return /* @__PURE__ */ jsx(Box, {
className: cs("vui-footerRow", className),
ref,
wrap: true,
...styles.row,
gap: {
xs: 2,
sm: 0,
md: 0
},
...rest
});
});
FooterRow.displayName = "FooterRow";
//#endregion
export { FooterRow as default };
globalThis.__vuiVersion__ = "5.3.1"
//# sourceMappingURL=footerRow.js.map