UNPKG

@nodeject/ui-components

Version:

UI library for non-trivial components

23 lines (22 loc) 565 B
/// <reference types="react" /> export interface Route { id?: string; label: React.ReactNode; url: string; children?: Route[]; [key: string]: any; } export declare type Routes = Route[]; export interface BreadcrumbsProps { className?: string; Link?: any; islinkListLoading?: boolean; onLinkClick?: (url: string) => void; onDropDownClick?: (args: { id: string; url: string; }) => void; routes: Routes; showLastBreadcrumb?: boolean; space?: 'small' | 'middle' | 'large'; }