Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
ljwagerfield committed Sep 23, 2023
1 parent f04f567 commit a05d635
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,14 +140,6 @@ const MyApp = () => (
);
```

Required props:
- `options`

Optional props:
- `onUpdate`
- `width`
- `height`

> **Special behaviour for dropzones:**
>
> `onComplete` only fires when `showFinishButton = true` (i.e. when the user clicks "Finish").
Expand All @@ -156,6 +148,14 @@ Optional props:
>
> Default value: `showFinishButton = false`
Required props:
- `options`

Optional props:
- `onUpdate`
- `width`
- `height`

## Result

The callbacks receive a `Array<UploadWidgetResult>`:
Expand Down

0 comments on commit a05d635

Please sign in to comment.