import * as React from 'react'; import { OverridableComponent, OverrideProps } from '../OverridableComponent'; export interface BreadcrumbsTypeMap
{
props: P & {
/**
* The breadcrumb children.
*/
children?: React.ReactNode;
/**
* Override or extend the styles applied to the component.
*/
classes?: {
/** Styles applied to the root element. */
root?: string;
/** Styles applied to the ol element. */
ol?: string;
/** Styles applied to the li element. */
li?: string;
/** Styles applied to the separator element. */
separator?: string;
};
/**
* Override the default label for the expand button.
*
* For localization purposes, you can use the provided [translations](/guides/localization/).
* @default 'Show path'
*/
expandText?: string;
/**
* If max items is exceeded, the number of items to show after the ellipsis.
* @default 1
*/
itemsAfterCollapse?: number;
/**
* If max items is exceeded, the number of items to show before the ellipsis.
* @default 1
*/
itemsBeforeCollapse?: number;
/**
* Specifies the maximum number of breadcrumbs to display. When there are more
* than the maximum number, only the first `itemsBeforeCollapse` and last `itemsAfterCollapse`
* will be shown, with an ellipsis in between.
* @default 8
*/
maxItems?: number;
/**
* Custom separator node.
* @default '/'
*/
separator?: React.ReactNode;
};
defaultComponent: D;
}
/**
*
* Demos:
*
* - [Breadcrumbs](https://material-ui.com/components/breadcrumbs/)
*
* API:
*
* - [Breadcrumbs API](https://material-ui.com/api/breadcrumbs/)
*/
declare const Breadcrumbs: OverridableComponent