UNPKG

674 BTypeScriptView Raw
1import * as React from 'react';
2import { Breadcrumb } from './breadcrumbs-constants';
3export declare const BreadcrumbRenderer: unique symbol;
4export interface BreadcrumbRenderer {
5 /**
6 * Renders the given breadcrumb. If `onClick` is given, it is called on breadcrumb click.
7 */
8 render(breadcrumb: Breadcrumb, onMouseDown?: (breadcrumb: Breadcrumb, event: React.MouseEvent) => void): React.ReactNode;
9}
10export declare class DefaultBreadcrumbRenderer implements BreadcrumbRenderer {
11 render(breadcrumb: Breadcrumb, onMouseDown?: (breadcrumb: Breadcrumb, event: React.MouseEvent) => void): React.ReactNode;
12}
13//# sourceMappingURL=breadcrumb-renderer.d.ts.map
\No newline at end of file