Skip to content

Commit

Permalink
fix: Only render the component in the browser
Browse files Browse the repository at this point in the history
(as its logic depends on a window to exist)

Signed-off-by: Hidde de Vries <[email protected]>
  • Loading branch information
hidde committed Dec 11, 2024
1 parent 0cd6b9a commit a9c6175
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/componenten/README.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ keywords:
---

import { ComponentOverview } from "@site/src/components/ComponentOverview";
import BrowserOnly from "@docusaurus/BrowserOnly";

# Componenten

De componenten van NL Design System worden met een [estafette aanpak](/handboek/estafettemodel) gemaakt en kunnen dus verschillende statussen hebben.

<ComponentOverview headingLevel={2} />
<BrowserOnly>{() => <ComponentOverview headingLevel={2} />}</BrowserOnly>

0 comments on commit a9c6175

Please sign in to comment.