--- import { ThemeSelect } from "@components/hooks/ThemeSwitch"; import type { TypeData } from "@config/io/types"; import Nav from "@components/navigation/sidebars/nav/index.astro"; import TOC from "@components/navigation/sidebars/TOC.astro"; import type { ConfigHeading } from "@components/navigation/sidebars/types"; import Search from "./navigation/Search.astro"; interface Props { title?: string; headings?: ConfigHeading[]; type?: TypeData; } const { title, headings, type } = Astro.props; ---