interface CheckoutSingleItemDarkProps { thumb_src: string; thumb_alt: string; title: string; color?: string; size?: string; price: number; } export default function CheckoutSingleItemDark({ thumb_src, thumb_alt, title, color, size, price }: CheckoutSingleItemDarkProps) { return (
{thumb_alt}

{title}

{(color || size) && (

{[color, size].filter(Boolean).join(' / ')}

)}

฿{price.toLocaleString()}

); }