Files
www/src/components/theme-provider.tsx
2025-04-04 11:38:44 +02:00

12 lines
300 B
TypeScript

'use client'
import { ThemeProvider as NextThemesProvider } from 'next-themes'
import type * as React from 'react'
export function ThemeProvider({
children,
...props
}: React.ComponentProps<typeof NextThemesProvider>) {
return <NextThemesProvider {...props}>{children}</NextThemesProvider>
}