1.0.5 • Published 4 years ago

react-searchbox-highlight v1.0.5

Weekly downloads
11
License
MIT
Repository
github
Last release
4 years ago

SearchBox gif

This is a easy searchbox component ready to use with highlight and loading features.

import SearchBox from 'react-searchbox-highlight';

<SearchBox
  items={[
    { label: 'Object 1', value: { name: 'obj1' } },
    { label: 'Object 2', value: { name: 'obj2' } },
  ]}
  onChange={(value) => handleChange(value)}
  onItemClick={(value) => handleOpenItem(value)}
/>;