jitsi-roomsv2/frontend/src/components/sidebar/SidebarHeader.tsx

17 lines
380 B
TypeScript
Raw Normal View History

2023-01-07 19:06:04 +01:00
import { sidebarVisibilityOptions } from "./useSidebarVisibility";
interface props {
sidebarVisibility: sidebarVisibilityOptions;
}
function SidebarHeader({ sidebarVisibility }: props) {
if (sidebarVisibility == "full") {
return <h1>hi there</h1>;
} else if (sidebarVisibility == "small") {
return <h1>hi</h1>;
}
return <></>;
}
export default SidebarHeader;