Docs

MediaRendererProps

Props taken by the for the MediaRenderer component

type MediaRendererProps = {
alt?: string;
children?: ReactNode;
className?: string;
client: ThirdwebClient;
controls?: HTMLVideoElement["controls"];
gatewayUrl?: string;
height?: string;
mimeType?: string;
poster?: string | null;
requireInteraction?: boolean;
src?: string | null;
style?: React.CSSProperties;
width?: string;
};