@hamgom95/hook-switchlist
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

@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.

Readme

Keywords

Package Sidebar

Install

npm i @hamgom95/hook-switchlist

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

4.23 kB

Total Files

6

Last publish

Collaborators

  • hamgom95