npm.io

Use toggle state Packages

use-state-toggle

There a lot of similar libraries out there, but they only toggle `boolean` state. This hook allows you to toggle any state, by providing custom `truthy` or `falsy` values.

reacthookhooksreact hookreact hooksuse stateuse toggle stateuse state toggletoggle state
0.1.1 • Published 5 years ago

contact@npm.io