// Copyright The OpenTelemetry Authors // SPDX-License-Identifier: Apache-2.0 import Link from 'next/link'; import { Product } from '../../protos/demo'; import ProductPrice from '../ProductPrice'; import * as S from './CartItems.styled'; interface IProps { product: Product; quantity: number; } const CartItem = ({ product: { id, name, picture, priceUsd = { units: 0, nanos: 0, currencyCode: 'USD' } }, quantity, }: IProps) => { return (

{name}

{quantity}

); }; export default CartItem;