import { v4 as uuidv4 } from 'uuid'; import { Breadcrumb } from 'react-bootstrap'; import { Link } from 'react-router-dom'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { faHouse } from '@fortawesome/free-solid-svg-icons'; function PageHeader({ steps }) { const [title] = steps; return (

{title} {steps.slice(1).map((step) => { return ( {step} ); })}
  • Home
  • {steps.map((step, stepIdx) => { if (stepIdx >= steps.length) { return (
  • {step}
  • ); } return (
  • {step}
  • ); })}

    ); } export default PageHeader;