mirror of
https://github.com/kjanat/livedash-node.git
synced 2026-01-16 18:32:10 +01:00
- Add robust email service with rate limiting and configuration management - Implement shared rate limiter utility for consistent API protection - Create comprehensive test suite for core processing pipeline - Add API tests for dashboard metrics and authentication routes - Fix date range picker infinite loop issue - Improve session lookup in refresh sessions API - Refactor session API routing with better code organization - Update processing pipeline status monitoring - Clean up leftover files and improve code formatting
19 lines
506 B
TypeScript
19 lines
506 B
TypeScript
"use client";
|
|
|
|
import { ThemeProvider as NextThemesProvider } from "next-themes";
|
|
|
|
type Attribute = "class" | "data-theme" | "data-mode";
|
|
|
|
interface ThemeProviderProps {
|
|
children: React.ReactNode;
|
|
attribute?: Attribute | Attribute[];
|
|
defaultTheme?: string;
|
|
enableSystem?: boolean;
|
|
disableTransitionOnChange?: boolean;
|
|
forcedTheme?: string;
|
|
}
|
|
|
|
export function ThemeProvider({ children, ...props }: ThemeProviderProps) {
|
|
return <NextThemesProvider {...props}>{children}</NextThemesProvider>;
|
|
}
|