Skip to content

Commit c0462ab

Browse files
committed
Additional note to image.
1 parent 842e7cd commit c0462ab

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ For example instead of `src` it uses an `url` prop etc.
4444
/>
4545
```
4646

47+
If you use an image object saved from the MediaUpload flow, you can simply do:
48+
49+
```javascript
50+
<Image {...attributes.myImage} />
51+
```
52+
4753
### ImageControl
4854

4955
Simple image upload and replacement flow for managing media.

0 commit comments

Comments
 (0)