Skip to content

Commit

Permalink
MediaUpload: Add documentation for title and modalClass props. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
ocean90 authored and youknowriad committed May 4, 2018
1 parent 2412523 commit 480990a
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions blocks/media-upload/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,21 @@ Callback called when the media modal is closed, the selected media are passed as
- Type: `Function`
- Required: Yes

### title

Title displayed in the media modal.

- Type: `String`
- Required: No
- Default: `Select or Upload Media`

### modalClass

CSS class added to the media modal frame.

- Type: `String`
- Required: No

## render

A callback invoked to render the Button opening the media library.
Expand Down

0 comments on commit 480990a

Please sign in to comment.