UNPKG

@brutalcomponent/react

Version:
32 lines (28 loc) 707 B
import React__default from 'react'; /** * @file src/modules/commerce/ProductCard/ProductCard.tsx * @author David (https://dvh.sh) * @license MIT * * @created Thu Sep 11 2025 * @updated Fri Sep 12 2025 * * @description * E-commerce product display card */ interface ProductCardProps { id: string; name: string; price: number; originalPrice?: number; image: string; imageAlt?: string; badge?: string; onAddToCart?: (id: string) => void; onToggleFavorite?: (id: string) => void; isFavorite?: boolean; href?: string; className?: string; } declare const ProductCard: React__default.FC<ProductCardProps>; export { ProductCard, type ProductCardProps };