Looking for a polygon cropper for my reactjs application

I am looking for a polygon cropper for my reactjs application. I have found some packages for react-native (https://developer.aliyun.com/mirror/npm/package/react-native-perspective-image-cropper?spm=a2c6h.14275010.0.0.2334b177Si6c1P) but want to know if it is possible to use that inside my reactjs application or if there is any other polygon cropper components particularly developed for reactjs?