Listing Card
Listing Card
Preview
API
Property | Type | Is Required | Default |
---|---|---|---|
product | Product Type | true | |
className | string | false | |
title | ReactNode | false | |
children | ReactNode | false |
Product Type
packages/isomorphic-core/src/components/cards/listing-card.tsx
type Product = {
city: string;
country: string;
thumbnail: any;
rating: number;
ratingCount: number;
hostname: string;
features: string[];
price: {
original: string;
sale: string;
};
tag: string;
};