0.1.3 • Published 3 years ago

day-night-toggle-library v0.1.3

Weekly downloads
-
License
-
Repository
github
Last release
3 years ago

Day Night Toggle Library

https://www.npmjs.com/package/day-night-toggle-library

Installation

Run the following command:npm i day-night-toggle-library

Examples

You can find an example of usage in "/src/examples"

configuration

to make component functional, pass the following props:

{darkmode}: state that corresonds to whether darkmode is enabled (true/false), {toggleFunction}: function to toggle state value,

customisations coming in future updates

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago