0.1.3 • Published 1 year ago
day-night-toggle-library v0.1.3
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