2024-09-13 21:27:40 -04:00
|
|
|
"use client";
|
|
|
|
|
|
|
|
import * as React from "react";
|
|
|
|
import { ThemeProvider as NextThemesProvider } from "next-themes";
|
|
|
|
import { type ThemeProviderProps } from "next-themes/dist/types";
|
|
|
|
|
|
|
|
export const ThemeProvider = ({ children, ...props }: ThemeProviderProps) => (
|
|
|
|
<NextThemesProvider {...props}>{children}</NextThemesProvider>
|
|
|
|
);
|