import { RotateCcw, Shield, Star, Truck } from "lucide-react"; import React from "react"; import { cn } from "@/lib/utils"; interface TrustItem { icon: React.ReactNode; title: string; description?: string; } interface TrustStrip1Props { items?: TrustItem[]; className?: string; } const DEFAULT_ITEMS: TrustItem[] = [ { icon: , title: "ارسال رایگان", description: "برای سفارشهای بالای ۵۰ ریال", }, { icon: , title: "مرجوعی آسان", description: "ضمانت بازگشت ۳۰ روزه", }, { icon: , title: "پرداخت امن", description: "تراکنش ۱۰۰٪ محافظتشده", }, { icon: , title: "امتیاز ۴٫۹ از ۵", description: "از بیش از ۱۰٬۰۰۰ نظر", }, ]; const TrustStrip1 = ({ items = DEFAULT_ITEMS, className, }: TrustStrip1Props) => { return ( {items.map((item, index) => ( {item.icon} {item.title} {item.description && ( {item.description} )} ))} ); }; export { TrustStrip1 };
{item.title}
{item.description}