makotot/react-scrollspy

Type issue

Opened this issue · 0 comments

in the "onUpdate" attribute of the Scrollspy component wouldn't it be better for the callback function to have its "item" parameter typed as HTMLElement? It is currently typed as a "string"