diff --git a/README.md b/README.md index 9bb683d..18f68c8 100644 --- a/README.md +++ b/README.md @@ -135,7 +135,9 @@ const options = { const MyApp = () => ( alert(uploadedFiles.map(x => x.fileUrl).join("\n"))} + onUpdate={({ uploadedFiles }) => { + console.log(uploadedFiles.map(x => x.fileUrl).join("\n")) + }} width="600px" height="375px" /> ); diff --git a/package.json b/package.json index 0106d4a..3caa9a7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@bytescale/upload-widget-react", - "version": "4.9.1", + "version": "4.9.2", "author": "Bytescale (https://www.bytescale.com)", "description": "React File Upload UI Widget — Lightweight & supports: drag and drop, multiple uploads, image cropping, customization & more 🚀 Comes with Cloud Storage 🌐", "license": "MIT",