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

Defaults: CategoryNav

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

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

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

CategoryNav

A bar of the top-level categories, each with its subcategories in a dropdown and the current one marked.

CategoryNav(props: CategoryNavProps): ReactElement | null

Props: CategoryNavProps

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

export function CategoryBar() {
  return <CategoryNav className='border-t' />;
}

See also: useNavData, useMegaMenu

Utoljára frissítve