UNPKG

@steambrew/client

Version:
22 lines (21 loc) 628 B
import { ReactNode, FC } from 'react'; export interface SidebarNavigationPage { title: ReactNode; content: ReactNode; icon?: ReactNode; visible?: boolean; hideTitle?: boolean; identifier?: string; route?: string; link?: string; padding?: 'none' | 'compact'; } export interface SidebarNavigationProps { title?: string; pages: (SidebarNavigationPage | 'separator')[]; showTitle?: boolean; disableRouteReporting?: boolean; page?: string; onPageRequested?: (page: string) => void; } export declare const SidebarNavigation: FC<SidebarNavigationProps>;