use-toggle-state (npm): A useState like hook for boolean values that returns the state, and a ToggleStateAction instead of a SetStateAction that all the setState callback to be called without passing any arguments to simply toggle the boolean value.
Keywords: react|state|toggle|open|hook|typescript