mirror of
https://github.com/vercel/commerce.git
synced 2025-05-15 05:56:59 +00:00
16 lines
380 B
TypeScript
16 lines
380 B
TypeScript
import Prose from 'components/prose';
|
|
import { Product } from 'lib/shopify/types';
|
|
|
|
export function ProductDescription({ product }: { product: Product }) {
|
|
return (
|
|
<>
|
|
{product.descriptionHtml ? (
|
|
<Prose
|
|
className="mb-6 text-base leading-tight dark:text-white/[60%]"
|
|
html={product.descriptionHtml}
|
|
/>
|
|
) : null}
|
|
</>
|
|
);
|
|
}
|