Toggle implementation made way more easier🙌
Toggle-Beautify is a npm package for react toggle component
Intallation
npm install toggle-beautify
v1.0.7
usage
import { ToggleBeauty } from "toggle-beautify";
import "toggle-beautify/dist/output.css";
Attributes
pass a boolean value
to it .so the component is toggled , and you can use this value for customize your project
isSelected
example
<div>
<ToggleBeauty isSelected={isSelected} />
</div>
Liscence
MIT
Author : Albin Sabu
Top comments (0)