theKashey / react-focus-lock

It is a trap! A lock for a Focus. 🔓
MIT License
1.27k stars 67 forks source link

[React 18.0.0] Must explicitly specify the prop children for class and functional components #215

Closed dsv-sergey closed 1 year ago

dsv-sergey commented 2 years ago

https://reactjs.org/blog/2022/03/08/react-18-upgrade-guide.html#updates-to-typescript-definitions https://github.com/DefinitelyTyped/DefinitelyTyped/pull/56210

theKashey commented 2 years ago

Yep. Update are on the way.

theKashey commented 2 years ago

react-focus-lock@2.9.0 should correctly work with React 18. But it never was about children, as they always has been explicitly configured.

stale[bot] commented 1 year ago

This issue has been marked as "stale" because there has been no activity for 2 months. If you have any new information or would like to continue the discussion, please feel free to do so. If this issue got buried among other tasks, maybe this message will reignite the conversation. Otherwise, this issue will be closed in 7 days. Thank you for your contributions so far.