UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

20 lines 690 B
import { SxProps } from '@mui/material'; import { MouseEventHandler } from 'react'; export type BreadcrumbItem = { text: string; current?: boolean; to?: string; href?: string; onClick?: MouseEventHandler; }; type BreadcrumbsProps = { /** The items to show in the breadcrumbs */ items: BreadcrumbItem[]; /** sx passed to the MUI Breadcrumbs */ sx?: SxProps; /** If defined, truncate individual item strings to be no longer than this value */ maxBreadcrumbLength?: number; }; export declare function Breadcrumbs(props: BreadcrumbsProps): import("react/jsx-runtime").JSX.Element; export default Breadcrumbs; //# sourceMappingURL=Breadcrumbs.d.ts.map