mirror of
https://github.com/hanzoai/ui.git
synced 2026-11-21 00:18:41 +00:00
- Updated import in pkg/ui/style/theme-provider.tsx - Updated import in template/next/components/theme-provider.tsx - Updated import in app/content/docs/dark-mode/next.mdx - Fixes TypeScript build errors in CI
10 lines
316 B
TypeScript
10 lines
316 B
TypeScript
"use client"
|
|
|
|
import * as React from "react"
|
|
import { ThemeProvider as NextThemesProvider } from "next-themes"
|
|
import type { ThemeProviderProps } from "next-themes"
|
|
|
|
export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
|
|
return <NextThemesProvider {...props}>{children}</NextThemesProvider>
|
|
}
|