39
36
* Joins the `props` and `attachment` objects,
40
37
* outputting the proper object format based on the
46
40
* @param {Object} [props={}] Attachment details (align, link, size, etc).
47
41
* @param {Object} attachment The attachment object, media version of Post.
48
42
* @returns {Object} Joined props