react-search-autocomplete
Advanced tools
Comparing version 2.0.1 to 2.0.2
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "A search box for React", | ||
@@ -8,0 +8,0 @@ "main": "dist/index.js", |
@@ -100,7 +100,7 @@ ![travis](https://travis-ci.com/sickdyd/react-search-autocomplete.svg?branch=master) | ||
// any type of object. By default the search will be done on the | ||
// property "name", to change this behaviour, change the fuseOptions | ||
// property "name", to change this behaviour, change the `fuseOptions` | ||
// prop. Remember that the component uses the key "name" in your | ||
// items list to display the result. If your list of items does not | ||
// have a "name" key, use `resultStringKeyName` to tell what string | ||
// to display in the results. | ||
// have a "name" key, use `resultStringKeyName` to tell what key (string) | ||
// to use to display in the results. | ||
fuseOptions, | ||
@@ -144,3 +144,3 @@ // To know more about fuse params, visit https://fusejs.io/ | ||
// items={items} | ||
// fuseOptions={keys: ["title", "description"]} | ||
// fuseOptions={{ keys: ["title", "description"] }} | ||
// resultStringKeyName="title" // necessary, otherwise the results will be blank | ||
@@ -147,0 +147,0 @@ // /> |
60554