UNPKG

funda-ui

Version:

React components using pure Bootstrap 5+ which does not contain any external style and script libraries.

18 lines (17 loc) 559 B
import React from 'react'; export declare type ModeSwitchProps = { triggerClassName?: string; /** The name of the local storage */ localStorageName?: string; /** Style name for dark mode */ darkClassName?: string; /** Set the light icon */ lightIcon?: React.ReactNode | string; /** Set the dark icon */ darkIcon?: React.ReactNode | string; /** -- */ tabIndex?: number; onChange?: (e: any, param: boolean) => void; }; declare const ModeSwitch: (props: ModeSwitchProps) => JSX.Element; export default ModeSwitch;