@hig/multi-downshift

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

Readme

Keywords

none

Package Sidebar

Install

npm i @hig/multi-downshift

Weekly Downloads

32

Version

2.2.0

License

Apache-2.0

Unpacked Size

24.4 kB

Total Files

5

Last publish

Collaborators

  • hig-bot
  • nfiniteset
  • wmui51
  • staceyshk