Defaults: CategoryNav
The defaults of @poltura/theme-sdk/navigation, CategoryNav to CategoryNav.
On this page
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 | nullProps: CategoryNavProps
import { CategoryNav } from '@poltura/theme-sdk/navigation';
export function CategoryBar() {
return <CategoryNav className='border-t' />;
}See also: useNavData, useMegaMenu