Fejlesztőknek
Kezdj bele
Témák/Theme SDK/Modules/navigation/Defaults: MainNav

Defaults: MainNav

Ez az oldal még csak angolul érhető el.

The defaults of @poltura/theme-sdk/navigation, MainNav to MainNav.

Ezen az oldalon
import { … } from '@poltura/theme-sdk/navigation';

The header's menu bar: the top-level links with their dropdowns or panels and the menu keyboard model.

MainNav(props: MainNavProps): ReactElement | null

Props: MainNavProps

import { MainNav } from '@poltura/theme-sdk/navigation';

export function HeaderMenu() {
  return <MainNav submenu='panel' openOn='click' />;
}

See also: useMenu, NavMenu

Utoljára frissítve