import { jsx as _jsx } from "react/jsx-runtime";
import { groupLines } from '../utils/helperFunctions';
// components
import OrderProduct from '../OrderProduct';
// styles
import { OrderProductsListWrapper } from './style';
const OrderProductsList = (props) => {
    const { lines, orderId, currency, isZoomIN } = props;
    return (_jsx(OrderProductsListWrapper, Object.assign({ isZoomIn: isZoomIN }, { children: groupLines(lines).map((line) => (_jsx(OrderProduct, { line: line, orderId: orderId, currency: currency }, line.id))) }), void 0));
};
export default OrderProductsList;
//# sourceMappingURL=index.js.map