Skip to content

thirdweb@5.49.0

Compare
Choose a tag to compare
@jnsdls jnsdls released this 30 Aug 10:01
· 2676 commits to main since this release
e46b3d3

Minor Changes

  • #4179 42d5c65 Thanks @kien-ngo! - Add NFT prebuilt components

    import { getContract } from "thirdweb";
    import { NFT } from "thirdweb/react";
    
    const contract = getContract({
      address: "0x...",
      chain: ethereum,
      client: yourThirdwebClient,
    });
    
    <NFT contract={contract} tokenId={0n}>
      <Suspense fallback={"Loading media..."}>
        <NFT.Media />
      </Suspense>
    </NFT>;

Patch Changes