Repository URL to install this package:
|
Version:
0.0.4 ▾
|
import * as React from 'react';
import { MenuItemType, CategoryListMetaSchema } from '../typings';
declare const renderNestedNavItem: (item: MenuItemType, isHeader: boolean) => JSX.Element;
export declare type RenderInnerNavItem = (item: CategoryListMetaSchema, index?: number) => React.ReactNode;
declare const renderDropDownPane: (item: MenuItemType, renderInnerNavItem: RenderInnerNavItem) => ("" | JSX.Element)[];
declare const renderTopLevelTitle: (item: MenuItemType) => JSX.Element;
export declare type MenuItemTypeForDropDown = {
boxView: React.ReactNode;
titleView: React.ReactNode;
item: MenuItemType;
};
declare const renderMenuDropDown: (props: MenuItemTypeForDropDown) => JSX.Element | undefined;
export { renderNestedNavItem, renderDropDownPane, renderTopLevelTitle, renderMenuDropDown };