kodadot/nft-gallery

View on GitHub
components/shared/nftCard/types.ts

Summary

Maintainability
A
0 mins
Test Coverage
export type NeoNFT = {
  id: string
  name: string
  mimeType?: string
  supply?: number
  createdAt?: string
  price?: string
  sn?: string
  cheapest?: {
    price: string
  }
  collection: {
    id: string
    name: string
  }
  meta: {
    image?: string
    animationUrl?: string
  }
}

export type NftCardVariant =
  | 'primary'
  | 'minimal'
  | 'stacked-primary'
  | 'stacked-minimal'