1.0.9 • Published 4 years ago

dark-switch v1.0.9

Weekly downloads
17
License
MIT
Repository
github
Last release
4 years ago

DarkSwitch button

custom style for checkbox to switch between Dark/Light theme

Installation

    #NPM
    npm i --save dark-switch
    #YARN
    yarn add dark-switch

Import/use

    //import
    import DarkSwitch from "dark-switch"
    <DarkSwitch onChange={event=>handler(event)} />

use custom switch class css

    <DarkSwitch classSwitch={"myclass"} onChange={event=>handler(event)} />

use custom handler class css

    <DarkSwitch classHandle={"myclass"} onChange={event=>handler(event)} />
1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago