@hig/multi-downshift

    1.0.0 • Public • Published

    Multi-Downshift

    Multi-selection support for Downshift

    Getting started

    yarn add @hig/multi-downshift

    Import the component

    import MultiDownshift from '@hig/multi-downshift';

    Basic usage

    <MultiDownshift
      onChange={handleChange}
      itemToString={itemToString}
    >
    {({
        getButtonProps,
        getRemoveButtonProps,
        isOpen,
        selectedItems,
        getItemProps,
        highlightedIndex,
      }) => (
        <MyComponent />
      )
    }
    </MultiDownshift>

    Credits

    Based on the work by Kent C. Dodds.

    Keywords

    none

    Install

    npm i @hig/multi-downshift

    DownloadsWeekly Downloads

    38

    Version

    1.0.0

    License

    Apache-2.0

    Unpacked Size

    24.1 kB

    Total Files

    5

    Last publish

    Collaborators

    • devfoncy
    • hig-bot
    • nfiniteset
    • wmui51
    • staceyshk
    • sherm.newsom
    • grantkellyadsk