import React from 'react';
import { Svg, Path } from 'react-native-svg';

const ShoppingCartIcon = ({ color = "#373737", size = 24 }) => (
  <Svg width={size} height={size} viewBox="0 0 24 24" fill="none">
    <Path
      d="M8.90371 18.6923C7.42848 18.6923 6.2326 19.8805 6.2326 21.3462C6.2326 22.8118 7.42848 24 8.90371 24C10.3789 24 11.5748 22.8118 11.5748 21.3462C11.5748 19.8805 10.3789 18.6923 8.90371 18.6923ZM8.90371 22.2308C8.41197 22.2308 8.01334 21.8347 8.01334 21.3462C8.01334 20.8576 8.41197 20.4615 8.90371 20.4615C9.39545 20.4615 9.79408 20.8576 9.79408 21.3462C9.79408 21.8347 9.39545 22.2308 8.90371 22.2308ZM20.4785 18.6923C19.0033 18.6923 17.8074 19.8805 17.8074 21.3462C17.8074 22.8118 19.0033 24 20.4785 24C21.9538 24 23.1496 22.8118 23.1496 21.3462C23.1496 19.8805 21.9538 18.6923 20.4785 18.6923ZM20.4785 22.2308C19.9868 22.2308 19.5882 21.8347 19.5882 21.3462C19.5882 20.8576 19.9868 20.4615 20.4785 20.4615C20.9703 20.4615 21.3689 20.8576 21.3689 21.3462C21.3689 21.8347 20.9703 22.2308 20.4785 22.2308ZM23.4819 4.56898C22.7112 3.62186 21.4303 3.63718 21.1402 3.65385H5.27414L5.10834 2.62885C5.1043 2.60393 5.09919 2.57918 5.09303 2.55468C4.94774 1.97725 4.41479 1 3.33889 1H0.890371C0.398636 1 0 1.39606 0 1.88462C0 2.37317 0.398636 2.76923 0.890371 2.76923H3.26212C3.29585 2.81639 3.33578 2.89628 3.35912 2.96509L5.35349 15.2942C5.35753 15.3191 5.36265 15.3439 5.3688 15.3684C5.41596 15.5558 5.68107 16.5204 6.27077 17.1063C6.95694 17.788 7.90725 17.8077 8.01334 17.8077H22.2593C22.751 17.8077 23.1496 17.4116 23.1496 16.9231C23.1496 16.4345 22.751 16.0385 22.2593 16.0385H8.0226C7.93524 16.0349 7.67035 15.9948 7.52995 15.8552C7.35577 15.6822 7.17814 15.2374 7.10477 14.9708L6.9913 14.2692H21.17C21.5744 14.2692 21.928 13.9985 22.031 13.61C22.0397 13.577 22.9167 10.275 23.7811 7.44956C24.1519 6.23772 24.0512 5.26855 23.4819 4.56898ZM22.0774 6.93502C21.4362 9.03059 20.7892 11.3817 20.4863 12.5H6.70511L5.56034 5.42308H21.17C21.195 5.42308 21.22 5.42203 21.2448 5.41995C21.3433 5.41166 21.8877 5.42396 22.0972 5.68138C22.2652 5.8878 22.258 6.34474 22.0774 6.93502Z"
      fill={color}
    />
  </Svg>
);

export default ShoppingCartIcon;