mirror of
https://github.com/vercel/next-learn.git
synced 2026-06-26 14:16:13 +00:00
Add initial dashboard page and metric cards for Acme branding. #VERCEL_SKIP Co-authored-by: null <162737925+zebulonhermann@users.noreply.github.com>
12 lines
292 B
TypeScript
12 lines
292 B
TypeScript
'use client'
|
|
|
|
import * as React from 'react'
|
|
import {
|
|
ThemeProvider as NextThemesProvider,
|
|
type ThemeProviderProps,
|
|
} from 'next-themes'
|
|
|
|
export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
|
|
return <NextThemesProvider {...props}>{children}</NextThemesProvider>
|
|
}
|