Skip to content

Commit

Permalink
Mention URL.createObjectURL() to make it clear blob cannot be passed …
Browse files Browse the repository at this point in the history
…in directly (#199)

Hopefully this will help slowpokes like myself in the future :-)
  • Loading branch information
TomasHubelbauer authored and sekoyo committed Sep 21, 2018
1 parent 7c705f1 commit c13fc08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ If you prefer to include ReactCrop globally by marking `react-image-crop` as ext
<ReactCrop src="path/to/image.jpg" />
```

You can of course pass a blob url or base64 data.
You can of course pass a blob url (using `URL.createObjectURL()` and `URL.revokeObjectURL()`) or base64 data.

#### onChange(crop, pixelCrop) (required)

Expand Down

0 comments on commit c13fc08

Please sign in to comment.