Contains a Media which is added to the Layout.
| Property | Type | Required | Description |
|---|---|---|---|
align | Align | No | Controls how the media should be aligned with its container. Defaults to center |
analyticsId | String | No | An optional identifier to be used in analytics tracking. |
control | String | No | Specify a particular control to use to represent the layout. If the control is unknown, it will be ignored. |
margin | Size | No | The vertical margin to apply after this component. Defaults to md. |
media | Media | Yes | The media to display |
size | Size | No | The horizontal size of the media. Defaults to md. The media is scaled down to fit the provided size while preserving the aspect ratio, and it is never stretched beyond its pixel size. When a Image is provided, an xl size will allow it to fill as much space as it can. |
tags | Array<String> | No | An optional list of identifiers used to configure renderers. |
type | String | Yes | It must be media. |