()
| 7 | import FooterLayout from "@theme/Footer/Layout"; |
| 8 | |
| 9 | function 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 | |
| 26 | export default React.memo(Footer); |
nothing calls this directly
no outgoing calls
no test coverage detected