// icons import { Bars3Icon } from "@heroicons/react/24/outline"; type Props = { breadcrumbs?: JSX.Element; left?: JSX.Element; right?: JSX.Element; setToggleSidebar: React.Dispatch>; noHeader: boolean; }; const Header: React.FC = ({ breadcrumbs, left, right, setToggleSidebar, noHeader }) => (
{breadcrumbs} {left}
{right}
); export default Header;