npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

@hig/multi-downshift

0.1.2 • 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

492

version

0.1.2

license

Apache-2.0

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
Report a vulnerability