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

    Keywords

    Install

    npm i @hamgom95/hook-switchlist

    DownloadsWeekly Downloads

    3

    Version

    1.0.0

    License

    ISC

    Unpacked Size

    4.23 kB

    Total Files

    6

    Last publish

    Collaborators

    • hamgom95