Skip to main content

MediaRendererProps interface

The props for the MediaRenderer component.

Signature:

export interface MediaRendererProps extends SharedMediaProps

Extends: SharedMediaProps

Properties

PropertyModifiersTypeDescription
alt?string(Optional) The alt text for the media.
height?string(Optional)
poster?string | null(Optional) The media poster image uri. (if applicable)
src?string | null(Optional) The media source uri.
width?string(Optional)