Would be good to update this package to support React 18
Expected Behavior
Successfully install into React 18 project.
Actual Behavior
Fails on install due to dependency react@^16.8.0
Steps to Reproduce (including precondition)
Create a react app with latest version of React. (e.g CRA)
Install this package.
Screenshot on This Problem (if possible)

Your Environment
- OS: macOS Monterey 12.2.1
- use-intersection version: 0.2.1
Would be good to update this package to support React 18
Expected Behavior
Successfully install into React 18 project.
Actual Behavior
Fails on install due to dependency
react@^16.8.0Steps to Reproduce (including precondition)
Create a react app with latest version of React. (e.g CRA)
Install this package.
Screenshot on This Problem (if possible)
Your Environment