npmjs.org : @reactdev/react-use-toggle : 1.0.0
Basically, what this hook does is that, it takes a parameter with value true or false and toggles that value to opposite. It's useful when we want to take some action into it's opposite action, for example: show and hide modal, show more/show less text, o
Registry -
Download -
JSON -
codemeta.json
Integrity: sha512-tiuvGQXpAWBULkUNY8rL... -
purl: pkg:npm/%40reactdev/react-use-toggle@1.0.0
Published:
Indexed:
Loading...
Readme
Loading...
Dependencies
- @types/react ^18.0.25 Development
- typescript ^4.8.4 Development
- react ^18.2.0