1.0.9 • Published 6 years ago

dark-switch v1.0.9

Weekly downloads
17
License
MIT
Repository
github
Last release
6 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

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago