aboutsummaryrefslogtreecommitdiff
path: root/components/theme-provider.tsx
blob: 1a44ac3a13f8c7115951978325059e92e2c16910 (plain)
1
2
3
4
5
6
7
8
9
10
11
"use client";

import * as React from "react";
import {
  ThemeProvider as NextThemesProvider,
  type ThemeProviderProps,
} from "next-themes";

export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
  return <NextThemesProvider {...props}>{children}</NextThemesProvider>;
}