react-darkreader-2
Version:
A React Hook for adding a dark / night mode to your site inspired by darkreader
8 lines (7 loc) • 304 B
TypeScript
import React from 'react';
import { ReactSwitchProps } from 'react-switch';
import './Switch.css';
export interface SwitchProps extends ReactSwitchProps {
styling?: 'docusaurus' | 'material' | 'github' | 'fluent';
}
export default function Switch(SwitchProps: SwitchProps): React.JSX.Element;