Files
sign/apps/web/src/providers/next-theme.tsx

11 lines
333 B
TypeScript
Raw Normal View History

2023-06-11 01:50:19 -04:00
'use client';
import * as React from 'react';
import { ThemeProvider as NextThemesProvider } from 'next-themes';
import type { ThemeProviderProps } from 'next-themes/dist/types';
2023-06-11 01:50:19 -04:00
export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
return <NextThemesProvider {...props}>{children}</NextThemesProvider>;
}