UNPKG

use-boolean-hook

Version:

A simple React hook to manage and manipulate boolean state in your React applications.

25 lines (15 loc) 557 B
# use-boolean-hook ![Logo](./logo.png) A simple and lightweight React hook to manage and manipulate boolean state efficiently. Perfect for toggling UI states, managing visibility, and more! --- ## Features - 🔄 **Simple API**: Easy-to-use functions for boolean state management. - 🚀 **Lightweight**: No dependencies other than React. - **TypeScript Support**: Fully typed for a better developer experience. --- ## Installation Install with your favorite package manager: ```bash npm install use-boolean-hook # or yarn add use-boolean-hook