@mskcc/carbon-react
Version:
Carbon react components for the MSKCC DSM
25 lines (24 loc) • 704 B
TypeScript
/**
* MSKCC DSM 2021, 2024
*/
import React, { ReactNode } from 'react';
interface BreadcrumbProps extends React.HTMLAttributes<HTMLElement> {
/**
* Specify the label for the breadcrumb container
*/
ariaLabel?: string;
/**
* Pass in the BreadcrumbItem's for your Breadcrumb
*/
children?: ReactNode;
/**
* Specify an optional className to be applied to the container node
*/
className?: string;
/**
* Optional prop to omit the trailing slash for the breadcrumbs
*/
noTrailingSlash?: boolean;
}
declare const Breadcrumb: React.ForwardRefExoticComponent<BreadcrumbProps & React.RefAttributes<HTMLElement>>;
export default Breadcrumb;