import classNames from "classnames"; import React, { useRef } from "react"; import { Link } 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"; import { useButton } from "@react-aria/button"; export function Header({ children, className, ...rest }) { return (
{children}
); } export function LeftNav({ children, className, ...rest }) { return (
{children}
); } export function RightNav({ children, className, ...rest }) { return (
{children}
); } export function HeaderLogo() { return ( ); } export function RoomHeaderInfo({ roomName }) { return ( <>

{roomName}

); } export function RoomSetupHeaderInfo({ roomName, ...rest }) { const ref = useRef(); const { buttonProps } = useButton(rest, ref); return ( ); }