Open SuhatAkbulak opened 1 year ago
Hello, I get such error to resize the image.
` const handleClickButton = () => {
console.log(editorRef.current); const editorInstance = editorRef.current.getInstance(); editorInstance.setCropzoneRatio(16 / 9) // editorInstance.crop(16 / 9); //imageEditor.crop(imageEditor.getCropzoneRect()); editorInstance.setCropzoneRatio(16 / 9); editorInstance.crop(editorInstance.setCropzoneRatio(16 / 9));
}; `
Hello, I get such error to resize the image.
` const handleClickButton = () => {
}; `