mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-01-31 09:03:36 +00:00
12 lines
299 B
TypeScript
12 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>;
|
||
|
}
|