Skip to content

Commit f04f567

Browse files
committed
Document showFinishButton/onComplete behaviour
1 parent fab6b9b commit f04f567

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,14 @@ Optional props:
148148
- `width`
149149
- `height`
150150

151+
> **Special behaviour for dropzones:**
152+
>
153+
> `onComplete` only fires when `showFinishButton = true` (i.e. when the user clicks "Finish").
154+
>
155+
> `onUpdate` must be used when `showFinishButton = false`.
156+
>
157+
> Default value: `showFinishButton = false`
158+
151159
## Result
152160

153161
The callbacks receive a `Array<UploadWidgetResult>`:

0 commit comments

Comments
 (0)