Skip to content

Commit

Permalink
docs: example code typo
Browse files Browse the repository at this point in the history
  • Loading branch information
heliocosta-dev authored Dec 16, 2024
1 parent 7cdc9a8 commit 94fca5b
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 94fca5b

Please sign in to comment.