mirror of
https://github.com/hanzoai/shadcn.git
synced 2026-11-03 03:18:52 +00:00
- Full parity with shadcn/ui components and features - All 48 UI components present and updated - All 72 chart variations included - All 149 example implementations - Updated registry files for all themes - Added monorepo templates - Fixed test configurations - Updated all dependencies - Maintained Hanzo branding throughout
19 lines
402 B
TypeScript
19 lines
402 B
TypeScript
"use client"
|
|
|
|
import * as React from "react"
|
|
import { ThemeProvider as NextThemesProvider } from "next-themes"
|
|
|
|
export function Providers({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<NextThemesProvider
|
|
attribute="class"
|
|
defaultTheme="system"
|
|
enableSystem
|
|
disableTransitionOnChange
|
|
enableColorScheme
|
|
>
|
|
{children}
|
|
</NextThemesProvider>
|
|
)
|
|
}
|