import { AlignRight } from "lucide-react"; interface ProductDescriptionProps { description?: string | null; } /** * Full product description block. Preserves the seller's line breaks (bullet * lists from Instagram/WooCommerce imports come in as `\n`-separated lines), * with a proper heading so it reads as its own section on the detail page. * * Renders nothing when no description is set — the section header shouldn't * appear on products the seller hasn't filled out yet. */ export function ProductDescription({ description }: ProductDescriptionProps) { const body = (description || "").trim(); if (!body) return null; return (

توضیحات محصول

{body}
); }