@hig/multi-downshift

Multi-selection support for Downshift

Stats

StarsIssuesVersionUpdatedCreatedSize
@hig/multi-downshift
1422431.0.0a year ago3 years agoMinified + gzip package size for @hig/multi-downshift in KB

Readme

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.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.