|
Last change
on this file since 8496f3c was ba52069, checked in by Stefan-Saveski <stefansaveski19@…>, 7 months ago |
|
Added dark theme.
|
-
Property mode
set to
100644
|
|
File size:
289 bytes
|
| Line | |
|---|
| 1 | "use client";
|
|---|
| 2 |
|
|---|
| 3 | import { ThemeProvider as NextThemesProvider } from "next-themes";
|
|---|
| 4 | import { type ThemeProviderProps } from "next-themes";
|
|---|
| 5 |
|
|---|
| 6 | export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
|
|---|
| 7 | return <NextThemesProvider {...props}>{children}</NextThemesProvider>;
|
|---|
| 8 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.