jitsi-roomsv2/frontend/src/components/sidebar/SidebarHeader.tsx
2023-01-15 16:38:57 +01:00

17 lines
380 B
TypeScript

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;