Files

18 lines
447 B
TypeScript

import { PLACEHOLDER } from "@/lib/data";
import { getSpecialProducts } from "@/lib/mappers";
import { ProductShelf } from "./ProductShelf";
export async function TopSelling() {
const products = await getSpecialProducts("Top-Selling");
if (!products.length) return null;
return (
<ProductShelf
image={PLACEHOLDER.topSelling}
products={products}
ariaLabel="محصولات پرفروش"
tone="blue"
/>
);
}