diff --git a/site/src/components/docs/DocsSidebar.astro b/site/src/components/docs/DocsSidebar.astro index f1f293ae..c98cfd2c 100644 --- a/site/src/components/docs/DocsSidebar.astro +++ b/site/src/components/docs/DocsSidebar.astro @@ -5,18 +5,20 @@ import { PreferenceUpdater } from '@/components/docs/PreferenceUpdater'; import SidebarItem from '@/components/docs/SidebarItem.astro'; import { filterSidebar } from '@/utils/docs/sidebar'; import FilmGrain from '../FilmGrain'; +import clsx from 'clsx'; type Props = { framework: F; style: SupportedStyle; docTitles: Map; + class?: string; }; -const { framework, style, docTitles } = Astro.props; +const { framework, style, docTitles, class: className } = Astro.props; const filteredSidebar = filterSidebar(framework, style); --- -
+