fix(multi-select): fix filterItem return type (#1972)

This commit is contained in:
Eytan 2024-08-08 21:34:58 +02:00 committed by GitHub
commit 6140c3c5a9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 7 additions and 4 deletions

View file

@ -7123,7 +7123,7 @@
"name": "filterItem",
"kind": "let",
"description": "Override the filtering logic\nThe default filtering is an exact string comparison",
"type": "(item: MultiSelectItem, value: string) => string",
"type": "(item: MultiSelectItem, value: string) => boolean",
"value": "(item, value) => item.text.toLowerCase().includes(value.trim().toLowerCase())",
"isFunction": true,
"isFunctionDeclaration": false,