mirror of
https://github.com/ershisan99/www.git
synced 2025-12-17 05:19:23 +00:00
12 lines
300 B
TypeScript
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>
|
|
}
|