@carbon/ibm-products
Version:
Carbon for IBM Products
52 lines • 2.06 kB
TypeScript
export function BreadcrumbWithOverflow({ breadcrumbs, className, label, maxVisible, noTrailingSlash, overflowAriaLabel, overflowTooltipAlign, ...other }: {
[x: string]: any;
breadcrumbs: any;
className: any;
label: any;
maxVisible: any;
noTrailingSlash: any;
overflowAriaLabel: any;
overflowTooltipAlign: any;
}): React.JSX.Element;
export namespace BreadcrumbWithOverflow {
export namespace propTypes {
let breadcrumbs: PropTypes.Requireable<PropTypes.InferProps<{
/**
* Optional string representing the link location for the BreadcrumbItem
*/
href: PropTypes.Requireable<string>;
/**
* Provide if this breadcrumb item represents the current page
*/
isCurrentPage: PropTypes.Requireable<boolean>;
/**
* Key required to render array efficiently
*/
key: PropTypes.Validator<string>;
/**
* Pass in content that will be inside of the BreadcrumbItem
*/
label: PropTypes.Requireable<PropTypes.ReactNodeLike>;
/**
* An optional title label for extra long breadcrumb
*/
shortTitle: PropTypes.Requireable<string>;
/**
* A string based alternative to the children, required only if children is not of type string
*/
title: PropTypes.Requireable<string>;
}>[]>;
let className: PropTypes.Requireable<string>;
let label: PropTypes.Requireable<string>;
let maxVisible: PropTypes.Requireable<number>;
let noTrailingSlash: PropTypes.Requireable<boolean>;
let overflowAriaLabel: PropTypes.Requireable<string>;
let overflowTooltipAlign: any;
}
export { componentName as displayName };
}
import React from 'react';
import PropTypes from 'prop-types';
declare const componentName: "BreadcrumbWithOverflow";
export {};
//# sourceMappingURL=BreadcrumbWithOverflow.d.ts.map