import { Link } from 'react-router-dom'; export interface Crumb { label: string; /** Where the crumb links; omit for the current (last) crumb. */ to?: string; } /** * A breadcrumb navigation trail. The last crumb is the current page and is * rendered as plain text; earlier crumbs link to their routes. */ export default function Breadcrumbs({ crumbs }: { crumbs: Crumb[] }) { return ( ); }