barrsan / react-native-simple-image-cropper

MIT License
59 stars 28 forks source link

accept initCropperParams, updateCropperParams can be called from ref,… #32

Closed iamdavidmartin closed 1 year ago

iamdavidmartin commented 4 years ago

This pull request does 3 things:

  1. Accept an initial cropping config. I need this so I can swap images in and out for cropping on a single page.
  2. Expose a function updateCropperParams so I can programmatically change the crop params from a ref. Again, used for swapping images in and out on a single page.
  3. Render a video in addition to an image.