From 480990a2114424a56412ad685495bae87fcb8c16 Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Fri, 4 May 2018 13:56:39 +0200 Subject: [PATCH] MediaUpload: Add documentation for `title` and `modalClass` props. (#6502) --- blocks/media-upload/README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/blocks/media-upload/README.md b/blocks/media-upload/README.md index e590177cbb593c..7aae4792a8dfe2 100644 --- a/blocks/media-upload/README.md +++ b/blocks/media-upload/README.md @@ -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.