Skip to content

Commit

Permalink
Include icon in documentation for MediaPlaceholder (#15585)
Browse files Browse the repository at this point in the history
* Include icon in documentation for MediaPlaceholder

* Slight changes to media-placeholder docs.
  • Loading branch information
LeonBlade authored and mkaz committed May 15, 2019
1 parent f340577 commit 34d24ed
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,13 @@ Class name added to the placeholder.
- Type: `String`
- Required: No

### icon

Icon to display left of the title. When passed as a `String`, the icon will be resolved as a [Dashicon](https://developer.wordpress.org/resource/dashicons/). Alternatively, you can pass in a `WPComponent` such as `BlockIcon`to render instead.

- Type: `String|WPComponent`
- Required: No

### isAppender

If true, the property changes the look of the placeholder to be adequate to scenarios where new files are added to an already existing set of files, e.g., adding files to a gallery.
Expand Down

0 comments on commit 34d24ed

Please sign in to comment.