JSPM

@htsoft/aiza-react-ui

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7
  • Score
    100M100P100Q45737F
  • License MIT

NFT ReactJS UI components

Package Exports

  • @htsoft/aiza-react-ui

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@htsoft/aiza-react-ui) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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]}
        />
    );