20 lines
485 B
TypeScript
20 lines
485 B
TypeScript
import React from 'react';
|
|
import { CardStack, CardStackProps } from '@/components/cardStack/CardStack';
|
|
|
|
export interface ProductCard {
|
|
id: string;
|
|
name: string;
|
|
price: string;
|
|
imageSrc: string;
|
|
imageAlt?: string;
|
|
rating?: number;
|
|
reviewCount?: string;
|
|
}
|
|
|
|
type ProductCardTwoProps = Omit<CardStackProps, 'gridRowsClassName'>;
|
|
|
|
export const ProductCardTwo: React.FC<ProductCardTwoProps> = (props) => {
|
|
return <CardStack {...props} />;
|
|
};
|
|
|
|
export default ProductCardTwo; |