From e5289fe73e129f8440ca321f844eb3b335b03354 Mon Sep 17 00:00:00 2001 From: rikhall1515 <30295873+rikhall1515@users.noreply.github.com> Date: Fri, 19 Apr 2024 21:03:16 +0200 Subject: [PATCH] feat: add next theme context --- context/theme.tsx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 context/theme.tsx diff --git a/context/theme.tsx b/context/theme.tsx new file mode 100644 index 0000000..a4a625a --- /dev/null +++ b/context/theme.tsx @@ -0,0 +1,16 @@ +"use client"; + +import { ThemeProvider } from "next-themes"; +export default function ThemeContextProvider({ + children, +}: { + children: React.ReactNode; +}) { + return ( + <> + + {children} + + + ); +}