2024-09-07 09:12:48 +02:00
|
|
|
"use client";
|
2024-06-15 14:55:33 +02:00
|
|
|
|
2024-09-07 09:12:48 +02:00
|
|
|
import * as React from "react";
|
|
|
|
import { ThemeProvider as NextThemesProvider } from "next-themes";
|
|
|
|
import { type ThemeProviderProps } from "next-themes/dist/types";
|
2024-06-15 14:55:33 +02:00
|
|
|
|
|
|
|
export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
|
2024-09-07 09:12:48 +02:00
|
|
|
return <NextThemesProvider {...props}>{children}</NextThemesProvider>;
|
2024-06-15 14:55:33 +02:00
|
|
|
}
|