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
we are using react-dropdown-select component in our project. It really works great but we have one issue with typescript.
When giving a own searchFn to the component, typescript brings up an error because the function is typed as () => void. May it be possible to chenge the type to something like 'searchFn?: ({ props, state, methods }: IRenderer) => object[];' ?
A lot of thanks and best wishes
Max
The text was updated successfully, but these errors were encountered:
Hi Sasha,
we are using react-dropdown-select component in our project. It really works great but we have one issue with typescript.
When giving a own searchFn to the component, typescript brings up an error because the function is typed as () => void. May it be possible to chenge the type to something like 'searchFn?: ({ props, state, methods }: IRenderer) => object[];' ?
A lot of thanks and best wishes
Max
The text was updated successfully, but these errors were encountered: