Hello, i just install ImageEditor and use it to crop my image. But when i do this action, have warning like this "Cannot read property 'cropImage' of undefined".
This is my code
const cropData = {
offset:{x: 0, y: 0},
size: {width: image.width, height: image.height},
displaySize: {width: image.width, height: image.height},
resizeMode: 'contain'
}
Question
Hello, i just install ImageEditor and use it to crop my image. But when i do this action, have warning like this "Cannot read property 'cropImage' of undefined". This is my code const cropData = { offset:{x: 0, y: 0}, size: {width: image.width, height: image.height}, displaySize: {width: image.width, height: image.height}, resizeMode: 'contain' }