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

import { ThemeProvider as NextThemesProvider } from 'next-themes';
import type * as React from 'react';

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