- The components allow to render NFT auctions, bids and other marketplace information.
@htsoft/reactjs-hooks
is peer dependency that help to fetch NFT data.
- NodeJS version >=
v14.17.5
-
Install package:
yarn add @htsoft/aiza-react-ui
-
Render a NFT Preview:
import { NFTPreview } from "@htsoft/aiza-react-ui"; export const Page = () => <NFTPreview id="88" />;
-
Render a list of auctions
import { NFTFullPage } from "@htsoft/aiza-react-ui"; export const Page = ({curatorId}: {curatorId: string}) => ( <AuctionHouseList onClick={(_, auction) => alert(`onClick event: ${auction.tokenId}`)} curatorIds={[curatorId]} /> );