--- import type { SupportedFramework, SupportedStyle } from '@/types/docs'; import { PreferenceUpdater } from '@/components/docs/PreferenceUpdater'; import { Selectors } from '@/components/docs/Selectors'; import SidebarItem from '@/components/docs/SidebarItem.astro'; import { filterSidebar } from '@/utils/docs/sidebar'; type Props = { framework: F; style: SupportedStyle; docTitles: Map; }; const { framework, style, docTitles } = Astro.props; const filteredSidebar = filterSidebar(framework, style); ---