Docs

ThirdwebNftMediaProps

interface ThirdwebNftMediaProps extends SharedMediaProps {
  children: ReactNode;
  className: string;
  controls: boolean;
  height: string;
  metadata: objectOutputType<
    {},
    ZodUnion<
      [
        ZodEffects<
          ZodUnion<
            [
              ZodBigInt,
              ZodType<BigNumber, ZodTypeDef, BigNumber>,
              ZodType<BN, ZodTypeDef, BN>,
            ]
          >,
          string,
          bigint | BigNumber | BN
        >,
        ZodUnknown,
      ]
    >,
    "strip"
  >;
  mimeType: string;
  requireInteraction: boolean;
  style: CSSProperties;
  width: string;
}