Props type alias for associated component.

type Props = {
    imgAlt?: string;
    media?: object;
    tooltip?: string;
    tooltipDirection?: string;
    url?: string | URL;
    urlDefault?: string | URL;
    videoAutoplay?: boolean;
    videoLoop?: boolean;
    videoMuted?: boolean;
    videoPlaybackRate?: number;
    videoPlayOnHover?: boolean;
}
Index

Properties

imgAlt?: string

Alternate image text.

media?: object
tooltip?: string

A tooltip for the media element.

tooltipDirection?: string

The tooltip direction for the media element.

url?: string | URL

URL path / URL for media content.

urlDefault?: string | URL

Default URL path / URL for media content when no URL is configured.

videoAutoplay?: boolean

Automatically start video playback; default: true

videoLoop?: boolean

Automatically loop video; default: true

videoMuted?: boolean

Mute video playback audio; default: true

videoPlaybackRate?: number

Video playback rate - clamped internally between 0 - 2.

videoPlayOnHover?: boolean

Play video on pointer hover.