Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
|
raw
history blame
786 Bytes
This example shows how to use an external autocomplete component with `react-instantsearch`
It uses [react-autosuggest](https://github.com/moroshko/react-autosuggest) as the autocomplete external component.
You will find two use cases:
* How to build an autocomplete displaying hits from different indices
* How to build @-mentions using [ant](https://ant.design) as the external component
## Clone the example
```
curl https://codeload.github.com/algolia/react-instantsearch/tar.gz/master | tar -xz --strip=2 react-instantsearch-master/examples/autocomplete
```
## Start the example
```sh
yarn install --no-lockfile
yarn start
```
Read more about `react-instantsearch` [in our documentation](https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/react/).