import React from "react";

const SuccessIcon = ({ fill, ...props }) => (
  <svg
    {...props}
    viewBox="0 0 512 512"
    fill={fill}
    xmlns="http://www.w3.org/2000/svg"
  >
    <path
      d="M363.037 60.3672C363.302 59.8827 363.123 59.2745 362.638 59.0116C317.715 34.693 265.818 26.4546 215.556 35.6815C164.964 44.9686 119.111 71.384 85.6979 110.49C52.2849 149.596 33.3483 199.01 32.0693 250.43C30.7903 301.851 47.2468 352.145 78.6744 392.864C110.102 433.582 154.586 462.245 204.652 474.035C254.719 485.826 307.318 480.027 353.614 457.612C399.91 435.197 437.081 397.533 458.883 350.945C480.543 304.66 485.722 252.37 473.579 202.752C473.448 202.215 472.904 201.888 472.369 202.022L412.102 217.057C411.566 217.191 411.241 217.734 411.371 218.271C419.951 253.604 416.234 290.819 400.813 323.77C385.251 357.023 358.719 383.907 325.675 399.906C292.63 415.906 255.086 420.045 219.349 411.629C183.613 403.213 151.861 382.754 129.429 353.69C106.997 324.626 95.2503 288.727 96.1632 252.024C97.0761 215.322 110.593 180.051 134.442 152.138C158.292 124.225 191.021 105.37 227.132 98.7415C262.914 92.1728 299.857 98.0052 331.864 115.258C332.35 115.52 332.958 115.343 333.223 114.858L363.037 60.3672Z"
      fill={fill}
    />
    <path
      fill-rule="evenodd"
      clip-rule="evenodd"
      d="M425.373 73.3726L256 242.745L214.627 201.373C202.131 188.876 181.869 188.876 169.373 201.373C156.876 213.869 156.876 234.131 169.373 246.627L233.373 310.627C245.869 323.124 266.131 323.124 278.627 310.627L470.627 118.627C483.124 106.131 483.124 85.8694 470.627 73.3726C458.131 60.8758 437.869 60.8758 425.373 73.3726Z"
      fill={fill}
    />
  </svg>
);

export default SuccessIcon;
