mirror of
https://github.com/handsomezhuzhu/2fa-tool.git
synced 2026-02-20 19:50:15 +00:00
13 lines
382 B
TypeScript
13 lines
382 B
TypeScript
"use client"
|
|
|
|
import type * as React from "react"
|
|
import { ThemeProvider as NextThemesProvider } from "next-themes"
|
|
|
|
export { useTheme } from "next-themes"
|
|
|
|
type ThemeProviderProps = React.ComponentProps<typeof NextThemesProvider>
|
|
|
|
export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
|
|
return <NextThemesProvider {...props}>{children}</NextThemesProvider>
|
|
}
|