MeetUp/src/components/theme-provider.tsx
Maximilian Liebmann a56b6829a2 feat: implements next-themes
Adds `next-themes` to allow users to switch between light and dark themes.
2025-05-09 17:37:11 +02:00

11 lines
299 B
TypeScript

'use client';
import * as React from 'react';
import { ThemeProvider as NextThemesProvider } from 'next-themes';
export function ThemeProvider({
children,
...props
}: React.ComponentProps<typeof NextThemesProvider>) {
return <NextThemesProvider {...props}>{children}</NextThemesProvider>;
}