UNPKG

decentraland-ui

Version:

Decentraland's UI components and styles

40 lines (39 loc) 939 B
/// <reference types="react" /> import { NFT, Network, WearableCategory } from '@dcl/schemas'; import { StrictCardProps } from '../Card/Card'; export declare type Badge = { label: string; color: string; textColor?: string; icon?: string; hideLabel?: boolean; }; export declare type NFTCardI18N = { network: Partial<{ [key in keyof typeof Network]: string; }>; bodyShape: { male: string; female: string; unisex: string; }; playMode: { loop: string; once: string; }; category: { [keyof in WearableCategory]: string; }; withSound: string; smart: string; social: string; }; export declare type Props = StrictCardProps & { nft: NFT; i18n?: NFTCardI18N; price?: string; subtitle?: React.ReactNode | string; header?: React.ReactNode | string; badges?: React.ReactNode | string; target?: string; };