UNPKG

@steambrew/client

Version:
24 lines (23 loc) 666 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 { className?: string; title?: string; pages: (SidebarNavigationPage | 'separator')[]; showTitle?: boolean; disableRouteReporting?: boolean; page?: string; onPageRequested?: (page: string) => void; } /** @component React Components */ export declare const SidebarNavigation: FC<SidebarNavigationProps>;