From 82e03978b89938219958032efb1448cc76baa181 Mon Sep 17 00:00:00 2001 From: Saumit Date: Sat, 27 Sep 2025 02:14:26 +0530 Subject: Initial snapshot - OpenTelemetry demo 2.1.3 -f --- .../components/ProductList/ProductList.tsx | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/frontend/components/ProductList/ProductList.tsx (limited to 'src/frontend/components/ProductList/ProductList.tsx') diff --git a/src/frontend/components/ProductList/ProductList.tsx b/src/frontend/components/ProductList/ProductList.tsx new file mode 100644 index 0000000..0546eae --- /dev/null +++ b/src/frontend/components/ProductList/ProductList.tsx @@ -0,0 +1,23 @@ +// Copyright The OpenTelemetry Authors +// SPDX-License-Identifier: Apache-2.0 + +import { CypressFields } from '../../utils/enums/CypressFields'; +import { Product } from '../../protos/demo'; +import ProductCard from '../ProductCard'; +import * as S from './ProductList.styled'; + +interface IProps { + productList: Product[]; +} + +const ProductList = ({ productList }: IProps) => { + return ( + + {productList.map(product => ( + + ))} + + ); +}; + +export default ProductList; -- cgit v1.2.3