interface ProductCardProps {
    href: string;
    imageUrl: string;
    labels?: {
        chips?: {
            newProduct?: string;
            remoteWork?: string;
        };
        tags?: {
            category?: string;
            compensation?: string;
            location?: string;
            remoteWork?: string;
            skills?: string[];
        };
    };
    onNavigate: ((to, options?) => void);
    subtitle: string;
    subtitleImageUrl?: string;
    summary?: string;
    title: string;
}

Properties

href: string

Href of the card

imageUrl: string

Adds image to top of card

labels?: {
    chips?: {
        newProduct?: string;
        remoteWork?: string;
    };
    tags?: {
        category?: string;
        compensation?: string;
        location?: string;
        remoteWork?: string;
        skills?: string[];
    };
}

product card labels

Type declaration

  • Optional chips?: {
        newProduct?: string;
        remoteWork?: string;
    }
    • Optional newProduct?: string
    • Optional remoteWork?: string
  • Optional tags?: {
        category?: string;
        compensation?: string;
        location?: string;
        remoteWork?: string;
        skills?: string[];
    }
    • Optional category?: string
    • Optional compensation?: string
    • Optional location?: string
    • Optional remoteWork?: string
    • Optional skills?: string[]
onNavigate: ((to, options?) => void)

onNavigate function

Type declaration

    • (to, options?): void
    • onNavigate function

      Parameters

      • to: string
      • Optional options: NavigateOptions

      Returns void

subtitle: string

Add a subtitle

subtitleImageUrl?: string

Subtitle image

summary?: string

Add summary to card. (includes style restrictions)

title: string

Add title to card

Generated using TypeDoc