You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
As per the documentation on Custom Suggestions, renderSuggestion is exposed as a property on both DataSearch and CategorySearch.
This is currently not exposed through the interface
Minimal reproduction of the problem with instructions:
When trying to define renderSuggestions in DataSearch component in a react typescript app, the following error is observed.
/Users/benshi/prj/my-app/src/components/search/SearchHeader.tsx
(94,17): Property 'renderSuggestions' does not exist on type 'IntrinsicAttributes & DataSearchProps & { children?: ReactNode; }'.
Reactivesearch version:
2.12.1
Workaround
Currently it is possible to workaround by adding renderSuggestions: (...args: any[]) => any; to the d.ts file
The text was updated successfully, but these errors were encountered:
Issue Type:
bug
Platform:
Web
Description:
As per the documentation on Custom Suggestions,
renderSuggestion
is exposed as a property on bothDataSearch
andCategorySearch
.This is currently not exposed through the interface
Minimal reproduction of the problem with instructions:
When trying to define
renderSuggestions
inDataSearch
component in a react typescript app, the following error is observed.Reactivesearch version:
2.12.1
Workaround
Currently it is possible to workaround by adding
renderSuggestions: (...args: any[]) => any;
to the d.ts fileThe text was updated successfully, but these errors were encountered: