Skip to content

Commit

Permalink
Merge pull request #3 from heliocosta-dev/main
Browse files Browse the repository at this point in the history
docs: example code typo
  • Loading branch information
radex authored Dec 17, 2024
2 parents 7cdc9a8 + 94fca5b commit bcb55ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const fuzzySearch = createFuzzySearch(list, {
// search by `name` property
key: 'name',
// search by `description.text` property
getText: (item) => [item.description.text]
getText: (item) => [item.description.text],
// search by multiple properties:
getText: (item) => [item.name, item.description.text]
})
Expand Down

0 comments on commit bcb55ea

Please sign in to comment.