cpns / apps /web /src /components /theme-provider.tsx
rogasper's picture
initial commit
cfc59e4
Raw
History Blame Contribute Delete
325 Bytes
import { ThemeProvider as NextThemesProvider } from "next-themes";
import * as React from "react";
export function ThemeProvider({
children,
...props
}: React.ComponentProps<typeof NextThemesProvider>) {
return <NextThemesProvider {...props}>{children}</NextThemesProvider>;
}
export { useTheme } from "next-themes";