mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-06 12:27:44 +00:00
13 lines
268 B
TypeScript
13 lines
268 B
TypeScript
"use client";
|
|
import { ThemeProvider as NextThemesProvider } from "next-themes";
|
|
|
|
export function ThemeProvider({
|
|
children,
|
|
...props
|
|
}: {
|
|
children: React.ReactNode;
|
|
[key: string]: any;
|
|
}) {
|
|
return <NextThemesProvider {...props}>{children}</NextThemesProvider>;
|
|
}
|