import classNames from "classnames";
import React from "react";
import { Link, useHistory } from "react-router-dom";
import styles from "./Header.module.css";
import { ReactComponent as LogoIcon } from "./Logo.svg";
import { ReactComponent as VideoIcon } from "./icons/Video.svg";
import { ReactComponent as ArrowLeftIcon } from "./icons/ArrowLeft.svg";
export function RoomHeader({ roomName, children }) {
return (
{roomName}
{children}
);
}
export function RoomSetupHeader({ roomName, children }) {
const history = useHistory();
return (
{children}
);
}
export function HomeHeader({ userName, signedIn, onLogout }) {
return (
{signedIn && (
{userName}
)}
);
}
export function Header({ children, className, ...rest }) {
return (
{children}
);
}
export function LeftNav({ children, className, ...rest }) {
return (