useTgl
useTgl is a React Hook toggle component visibility.
Motivation
- Simplify the toggle action for components like Modals, Dialogs, Checkbox;
Usage
Install use-tgl
in your project with the following:
yarn add use-tgl
or npm install use-tgl
useTgl is a React Hook toggle component visibility.
Install use-tgl
in your project with the following:
yarn add use-tgl
or npm install use-tgl