Listing Card
Listing Card
Preview
API
Property | Type | Is Required | Default |
---|---|---|---|
product | Product Type | true | |
className | strting | false | |
title | ReactNode | false | |
children | ReactNode | false |
Product Type
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;
};