themeshift
Version:
A lightweight, customizable dark mode and theme toggler for React applications
15 lines (14 loc) • 328 B
TypeScript
import React from 'react';
interface ThemeIconProps {
theme: string;
size?: number;
color?: string;
}
export declare const ThemeIcon: React.FC<ThemeIconProps>;
export declare const ThemeToggleButton: React.FC<{
currentTheme: string;
onClick: () => void;
size?: number;
color?: string;
}>;
export {};