@hamgom95/hook-switchlist
v1.0.0
Published
react hook for used/unused switchlist
Downloads
1
Readme
@hamgom95/hook-switchlist
React hook to manage used/unused list.
API Documentation
useSwitchList(initUsed, initUnused) ⇒
Hook to move item between used / unused list.
Kind: global function
Returns: React Hook with functions to switch values between used / unused list.
| Param | Description | | --- | --- | | initUsed | Initial values in used list. | | initUnused | Initial values in unused list. |