useToggle

A custom React hook for toggling between true and false states.