All files / web/src/providers theme.tsx

0% Statements 0/7
100% Branches 1/1
100% Functions 1/1
0% Lines 0/7

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12                       
'use client';
 
import { ThemeProvider as NextThemesProvider } from 'next-themes';
import type * as React from 'react';
 
export function ThemeProvider({
  children,
  ...props
}: React.ComponentProps<typeof NextThemesProvider>): React.ReactNode {
  return <NextThemesProvider {...props}>{children}</NextThemesProvider>;
}