mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-11 09:51:40 +00:00
Merge branch 'shadcn/apply-preset' of github.com:shadcn-ui/ui into shadcn/apply-preset
This commit is contained in:
@@ -54,7 +54,7 @@ Class-based toggle via `.dark` on the root element. In Next.js, use `next-themes
|
||||
```tsx
|
||||
import { ThemeProvider } from "next-themes"
|
||||
|
||||
;<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
|
||||
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
|
||||
{children}
|
||||
</ThemeProvider>
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user