UNPKG

@byndyusoft-ui/use-toggle

Version:
10 lines (6 loc) 192 B
# `@byndyusoft-ui/use-toggle` > A custom hook used to manage two values using `toLeftValue`, `toRightValue` and `toggle` functions. ### Installation ``` npm i @byndyusoft-ui/use-toggle ```