import { PageHeader } from "../../components/ui/PageShell"; import PlexSearchBox from "./PlexSearchBox"; import PlexScopeToggle from "./PlexScopeToggle"; import PlexViewToggle from "./PlexViewToggle"; import type { PlexViewControls } from "./plexSubUrl"; // Plex's pills in the floating header: the search box, then the library scope (movie/show/both, plus // the playlists/collections surfaces) and the Discover ⟷ Browse switch — relocated here from the // filter sidebar so the primary "what am I browsing" controls are always in reach. Both toggles drive // PlexBrowse's sub-view, which PlexBrowse hands down as `view`. export default function PlexHeader({ view }: { view: PlexViewControls }) { return ( ); }