SharedMediaProps
type SharedMediaProps = { children: ReactNode; className: string; controls: boolean; height: string; mimeType: string; requireInteraction: boolean; style: CSSProperties; width: string;};
type children = ReactNode;
The className to apply on the rendered element to add custom styling.
type className = string;
Show the media controls (where applicable)
By default it is set to false
type controls = boolean;
The CSS height property to apply on the rendered element.
type height = string;
Provide the MIME type of the media if it is known
type mimeType = string;
Require user interaction to play the media.
By default it is set to false
type requireInteraction = boolean;
The style to apply on the rendered element to add custom styling.
type style = CSSProperties;
The CSS width property to apply on the rendered element.
type width = string;