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.

28 lines (26 loc) 849 B
import { cs } from "../utils/styles.js"; import { useStyleConfig } from "../core/theme.js"; import vui from "../core/vui.js"; import { Heading } from "../heading/heading.js"; import { useFooterContext } from "./context.js"; import { jsx } from "react/jsx-runtime"; //#region src/footer/footerHeading.tsx /** Heading of a links section. */ const FooterHeading = vui((props, ref) => { const { className, ...rest } = props; const styles = useStyleConfig("Footer", useFooterContext()); return /* @__PURE__ */ jsx(Heading, { className: cs("vui-footerHeading", className), color: "white", mb: 1, ref, size: "h5", ...styles.heading, ...rest }); }); FooterHeading.displayName = "FooterHeading"; //#endregion export { FooterHeading, FooterHeading as default }; globalThis.__vuiVersion__ = "5.3.1" //# sourceMappingURL=footerHeading.js.map