chatbot-template/components/theme-provider.tsx

10 lines
322 B
TypeScript
Raw Normal View History

2023-06-02 15:33:48 -04:00
'use client'
2023-05-19 12:33:56 -04:00
2023-06-02 15:33:48 -04:00
import * as React from 'react'
import { ThemeProvider as NextThemesProvider } from 'next-themes'
import { ThemeProviderProps } from 'next-themes/dist/types'
2023-05-19 12:33:56 -04:00
export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
2023-06-02 15:33:48 -04:00
return <NextThemesProvider {...props}>{children}</NextThemesProvider>
2023-05-19 12:33:56 -04:00
}