ThirdwebNftMedia

function ThirdwebNftMedia(
props: ThirdwebNftMediaProps & RefAttributes<HTMLMediaElement>,
): ReactNode;

Parameters

The props for the component.

controls (optional)

Show the media controls (play, pause, etc.) for the media, where applicable.

The default value is false .

height (optional)

The height of the rendered media.

The default value is auto .

width (optional)

The width of the rendered media.

The default value is auto .

requireInteraction (optional)

Require user interaction to play the media (i.e. disable autoplay).

The default value is false .

className (optional)

Apply custom CSS styles to the button using a class name

style (optional)

Apply custom CSS styles to the button using an inline style.

Type

let props: ThirdwebNftMediaProps & RefAttributes<HTMLMediaElement>;

Returns

let returnType: ReactNode;