sandbox-web-ide/frontend/components/ui/theme-provider.tsx

12 lines
295 B
TypeScript
Raw Normal View History

2024-04-06 19:03:04 -04:00
"use client"
2025-01-07 04:22:57 +00:00
import * as React from "react"
2024-04-06 19:03:04 -04:00
import { ThemeProvider as NextThemesProvider } from "next-themes"
2025-01-07 04:22:57 +00:00
export function ThemeProvider({
children,
...props
}: React.ComponentProps<typeof NextThemesProvider>) {
2024-04-06 19:03:04 -04:00
return <NextThemesProvider {...props}>{children}</NextThemesProvider>
}