Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
shadcn
2026-04-07 14:01:23 +04:00
committed by GitHub
parent 7cb3b13a33
commit e3d654fd26

View File

@@ -54,7 +54,7 @@ Class-based toggle via `.dark` on the root element. In Next.js, use `next-themes
```tsx ```tsx
import { ThemeProvider } from "next-themes" import { ThemeProvider } from "next-themes"
;<ThemeProvider attribute="class" defaultTheme="system" enableSystem> <ThemeProvider attribute="class" defaultTheme="system" enableSystem>
{children} {children}
</ThemeProvider> </ThemeProvider>
``` ```