@bscop/use-bool
v1.0.1
Published
A shortcut for React.useState<boolean>.
Downloads
110
Maintainers
Readme
use-bool
A shortcut for React.useState.
Install
npm i @bscop/use-bool
Usage
import useBool from "@bscop/use-bool";
const [state, setTrue, setFalse] = useBool();
Contribute
Read the guidelines.
Run tests
npm test
Coverage
Coverage reports are hosted on codecov.
npm run badge:coverage -- --token=<guid>
Bruno Scopelliti
www.brunoscopelliti.com