0.1.3 • Published 1 year ago

day-night-toggle-library v0.1.3

Weekly downloads
-
License
-
Repository
github
Last release
1 year 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

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.1.0

1 year ago