react-scroll-manager
react-scroll-manager copied to clipboard
fix: add explicit children prop typing
The new @types/react@^18 package ships with breaking changes. One such change is that children prop is no longer automatically included as part of the React.Component typing. Components need to opt-in to the children prop now.
This PR adds explicit children prop typing to the components the library exposes.
Pinging @trevorr for review.