react-scroll-manager icon indicating copy to clipboard operation
react-scroll-manager copied to clipboard

fix: add explicit children prop typing

Open erictaylor opened this issue 2 years ago • 1 comments

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.

erictaylor avatar Apr 15 '22 17:04 erictaylor

Pinging @trevorr for review.

erictaylor avatar Apr 29 '22 19:04 erictaylor