nextuiq
Version:
NextUIQ is a modern, lightweight, and developer-friendly UI component library for React and Next.js. Built with TypeScript and Tailwind CSS, it offers customizable, accessible, and performance-optimized components with built-in dark mode, theme customizat
14 lines (13 loc) • 432 B
TypeScript
import * as React from 'react';
type Theme = 'light' | 'dark' | 'system';
type ThemeContextType = {
theme: Theme;
toggleTheme: () => void;
};
interface ThemeProviderProps {
children: React.ReactNode;
defaultTheme?: Theme;
}
export declare function ThemeClient({ children, defaultTheme }: ThemeProviderProps): import("react/jsx-runtime").JSX.Element;
export declare const useTheme: () => ThemeContextType;
export {};