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

Function useNavbarItems

src/theme/Navbar/Content/index.tsx:10–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

8import NavbarSearch from "@theme/Navbar/Search";
9
10function useNavbarItems() {
11 // TODO temporary casting until ThemeConfig type is improved
12 return useThemeConfig().navbar.items as NavbarItemConfig[];
13}
14
15function NavbarItems({ items }: { items: NavbarItemConfig[] }): JSX.Element {
16 return (

Callers 1

NavbarContentFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected