37 lines
1.1 KiB
TypeScript
37 lines
1.1 KiB
TypeScript
import * as React from 'react';
|
|
import type { IBreadcrumbProps, IBreadcrumbData } from './Breadcrumb.types';
|
|
import type { JSXElement } from '@fluentui/utilities';
|
|
/** @deprecated Use IBreadcrumbData */
|
|
export type IBreadCrumbData = IBreadcrumbData;
|
|
/**
|
|
* {@docCategory Breadcrumb}
|
|
*/
|
|
export declare class BreadcrumbBase extends React.Component<IBreadcrumbProps, any> {
|
|
static defaultProps: IBreadcrumbProps;
|
|
private _classNames;
|
|
private _focusZone;
|
|
constructor(props: IBreadcrumbProps);
|
|
/**
|
|
* Sets focus to the first breadcrumb link.
|
|
*/
|
|
focus(): void;
|
|
render(): JSXElement;
|
|
/**
|
|
* Remove the first rendered item past the overlow point and put it and the end the overflow set.
|
|
*/
|
|
private _onReduceData;
|
|
/**
|
|
* Remove the last item of the overflow set and insert the item as the start of the rendered set past the overflow
|
|
* point.
|
|
*/
|
|
private _onGrowData;
|
|
private _onRenderBreadcrumb;
|
|
private _onRenderItem;
|
|
private _onBreadcrumbClicked;
|
|
/**
|
|
* Validate incoming props
|
|
* @param props - Props to validate
|
|
*/
|
|
private _validateProps;
|
|
}
|