import React from 'react';

// -- TYPES

interface IDownloadIconProps extends React.SVGAttributes<SVGElement> {}

// -- MAIN

function DownloadIcon(props: IDownloadIconProps) {
  return (
    <svg viewBox="0 0 24 24" {...props}>
      <path
        fill="currentColor"
        fillRule="evenodd"
        d="M18.146 17.902a.942.942 0 01-1.185-.621.948.948 0 01.618-1.189c2.435-.77 3.669-2.745 3.669-5.872 0-3.591-2.909-6.512-6.485-6.512a6.493 6.493 0 00-6.367 5.29l-.193 1.02-.994-.284a3.501 3.501 0 00-.959-.138 3.51 3.51 0 00-3.499 3.514 3.51 3.51 0 003.499 3.514l.194-.014a.945.945 0 01.994.898.948.948 0 01-.894.998l-.063.005a2.93 2.93 0 01-.231.011c-2.971 0-5.389-2.428-5.389-5.412S3.279 7.698 6.25 7.698c.172 0 .345.009.517.026C7.84 4.247 11.065 1.81 14.763 1.81c4.618 0 8.376 3.773 8.376 8.41 0 3.994-1.727 6.65-4.993 7.682zm-8.021.039l1 1.005v-5.975c0-.525.423-.95.945-.95s.946.425.946.95v5.979l1.004-1.009a.943.943 0 011.336 0 .952.952 0 010 1.342l-2.606 2.618c-.004.003-.004.008-.008.011a.94.94 0 01-.668.278h-.004a.943.943 0 01-.668-.278c-.002-.003-.002-.006-.005-.009l-2.609-2.62a.952.952 0 010-1.342.944.944 0 011.337 0z"
      />
    </svg>
  );
}

export default DownloadIcon;
