UNPKG

decentraland-ui

Version:

Decentraland's UI components and styles

19 lines (18 loc) 652 B
import React from 'react'; import { Item } from '@dcl/schemas'; import { RarityBadgeProps } from '../RarityBadge'; import './CatalogCard.css'; export declare type CatalogCardProps = { asset: Pick<Item, 'id' | 'url' | 'name' | 'rarity' | 'network' | 'creator'>; action: React.ReactNode; actionIcon?: React.ReactNode; imagensrc: string; extraInformation: React.ReactNode; notForSale: boolean; price?: string; owners?: string; } & Pick<RarityBadgeProps, 'i18n'>; /** * @deprecated Should start using the same component migrated to UI2. */ export declare const CatalogCard: (props: CatalogCardProps) => React.JSX.Element;