Skip to content

anmolm96/solana-nft

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

solana-nft

React component to render Solana NFTs as images

Usage

The component has one required prop: id (the token address id of the NFT) and 3 optional props: height (number), width (number), and style (React.CSSProperties)

// yarn add solana-nft or npm i solana-nft

import { NFT } from 'solana-nft'

<NFT id="<token_address_id>" />

<NFT id="<token_address_id>" height={600} width={600} style={{ borderRadius: "50%" }} />

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published