refactor: docubook@latest template nextjs-docker

This commit is contained in:
gitfromwildan
2026-05-30 18:52:21 +07:00
parent bf2ef37f49
commit 80eb49d968
101 changed files with 1759 additions and 4165 deletions

View File

@@ -2,7 +2,12 @@
import { ThemeProvider as NextThemesProvider } from "next-themes";
import { type ThemeProviderProps } from "next-themes";
import type { ReactNode } from "react";
export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
interface Props extends ThemeProviderProps {
children: ReactNode;
}
export function ThemeProvider({ children, ...props }: Props) {
return <NextThemesProvider {...props}>{children}</NextThemesProvider>;
}