I tried to used the package with React@18.2.0, basically I tried to use the last version of the package (2.1.0), then downgrade to previous versions (2.0.9), (2.0.3) without success.
I has systematically these JS error thrown in the browser console :