tsreact-darkreader
Version:
A Custom React Hook for adding a dark / night mode to your site inspired by darkreader
8 lines (7 loc) • 314 B
TypeScript
/// <reference types="react" />
import { ReactSwitchProps } from 'react-switch';
import './Toogle.css';
export interface SwitchProps extends ReactSwitchProps {
styling?: 'docusaurus' | 'material' | 'github' | 'fluent' | 'custom';
}
export default function Toogle(SwitchProps: SwitchProps): JSX.Element;