Error installing npm package react compare image

Hello guys, i got an error while trying to install react-compare-image. Anybody with a better idea of how i could solve the installation error

Going by the image, it looks like react-compare-image requires react version 16 or 17 but your project is using React 18. Try downgrading to React 16 to see if the error has anything to do with the version of React.

yeah i got it right now…it written in their documentation also…thank you