solana-nft
v1.0.2
Published
React component to render Solana NFTs as images
Downloads
3
Readme
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_account_id>" />
<NFT id="<token_account_id>" height={600} width={600} style={{ borderRadius: "50%" }} />