import React from 'react' /** * A component to render breadcrumbs * * This is a pure render component, you need to pass in the data. * * @component * @param {object} props - All component props * @param {React.Component} props.Link - A framework specific Link component for client-side routing * @param {array} [props.crumbs = []] - The crumbs, an array with objects with href & label properties * @param {text} title - The title of the current (final) page the breadcrumbs lead to * @returns {JSX.Element} */ export const Breadcrumbs = ({ crumbs = [], title, Link = false }) => { if (Link === false) Link = RegularLink return (