bug: SuggestionList prop types are unused and outdated #1659
Labels
bug
Something isn't working
released
status:confirmed
Described issue has been reproduced by the repo maintainer
Describe the bug
The SuggestionItemProps and SuggestionListProps are both outdated and unused in their components. This makes it difficult to extend the functionality with our own implementation and ensure they still align on future releases.
The
SuggestionList
(defined here) does not use theSuggestionListProps
. The props in this component also don't match that type completely. E.g. Several props likecurrentTrigger
andselectionEnd
are used in the component, but not defined in the type.The
SuggestionItem
(defined here) has the same problem.Expected behavior
The types should match their components and be used in those components to the ensure stability in future releases and allow users to safely extend this functionality.
Package version
The text was updated successfully, but these errors were encountered: