Initializer
init(layout:title:media:mediaPosition:)
Creates a new content and media section from the given parameters.
init(layout: ContentAndMediaSection.Layout?, title: String?, media: RenderReferenceIdentifier?, mediaPosition: ContentAndMedia.MediaPosition)
Parameters
layoutThe layout direction for the section.
titleThe title of the section.
mediaA reference to a media item for the section.
mediaPositionThe position of the media in relation to the prose content.