import { sidebarVisibilityOptions } from "./useSidebarVisibility"; interface props { sidebarVisibility: sidebarVisibilityOptions; } function SidebarHeader({ sidebarVisibility }: props) { if (sidebarVisibility == "full") { return

hi there

; } else if (sidebarVisibility == "small") { return

hi

; } return <>; } export default SidebarHeader;