MCPcopy Create free account
hub / github.com/IABTechLab/uid2docs / Footer

Function Footer

src/theme/Footer/index.tsx:9–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7import FooterLayout from "@theme/Footer/Layout";
8
9function Footer(): JSX.Element | null {
10 const { footer } = useThemeConfig();
11 if (!footer) {
12 return null;
13 }
14 const { copyright, links, logo, style } = footer;
15
16 return (
17 <FooterLayout
18 style={style}
19 links={links && links.length > 0 && <FooterLinks links={links} />}
20 logo={logo && <FooterLogo logo={logo} />}
21 copyright={copyright && <FooterCopyright copyright={copyright} />}
22 />
23 );
24}
25
26export default React.memo(Footer);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected