Closed steven-tey closed 5 months ago
From README:
You can provide a custom filter function that is called to rank each item. Both strings are normalized as lowercase and trimmed. <Command filter={(value, search) => { if (value.includes(search)) return 1 return 0 }} />
You can provide a custom filter function that is called to rank each item. Both strings are normalized as lowercase and trimmed.
<Command filter={(value, search) => { if (value.includes(search)) return 1 return 0 }} />
This is slightly incorrect as search is actually not lowercase.
search
From README:
This is slightly incorrect as
search
is actually not lowercase.