@htsoft/aiza-react-ui
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Aiza NFT React UI Lib

  • The components allow to render NFT auctions, bids and other marketplace information.
  • @htsoft/reactjs-hooks is peer dependency that help to fetch NFT data.

Evironment:

  • NodeJS version >= v14.17.5

How to use this lib

  1. Install package:

    yarn add @htsoft/aiza-react-ui
  2. Render a NFT Preview:

    import { NFTPreview } from "@htsoft/aiza-react-ui";
    
    export const Page = () => <NFTPreview id="88" />;
  3. 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]}
        />
    );

Package Sidebar

Install

npm i @htsoft/aiza-react-ui

Weekly Downloads

12

Version

1.0.2

License

MIT

Unpacked Size

206 kB

Total Files

115

Last publish

Collaborators

  • htsoft