import type React from "react"; import "../TitleBar/TitleBarStyle.css"; import { faHouse } from "@fortawesome/free-solid-svg-icons"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; interface TitleBarProps { title: string; redirectUrl?: string; showHomeButton?: boolean; backgroundColor?: string; } const TitleBar: React.FC = ({ title, redirectUrl, showHomeButton, backgroundColor, }) => { return ( <>
{title} {showHomeButton && ( )}
); }; export default TitleBar;