import { FC } from 'react';

export type SchedulePostsProps = {
  color?: string;
};

const ScheduleIcon: FC<SchedulePostsProps> = props => {
  const { color = 'currentColor' } = props;

  return (
    <svg
      width="509px"
      height="542px"
      viewBox="0 0 509 542"
      version="1.1"
      xmlns="http://www.w3.org/2000/svg"
    >
      <g
        id="Page-1"
        stroke="none"
        strokeWidth="1"
        fill="none"
        fillRule="evenodd"
      >
        <g
          id="Artboard-Copy"
          transform="translate(-872.000000, -91.000000)"
        >
          <g
            id="Group"
            transform="translate(889.000000, 108.000000)"
          >
            <path
              d="M132.608836,377.224836 C151.754895,383.567021 172.22654,387 193.5,387 C300.367099,387 387,300.367099 387,193.5 C387,86.6329009 300.367099,0 193.5,0 C86.6329009,0 0,86.6329009 0,193.5"
              id="Path"
              stroke={color}
              strokeWidth="34"
              strokeLinecap="round"
              transform="translate(193.500000, 193.500000) rotate(270.000000) translate(-193.500000, -193.500000) "
            />
            <line
              x1="192.5"
              y1="65.5"
              x2="192.5"
              y2="192.5"
              id="Line"
              stroke={color}
              strokeWidth="35"
              strokeLinecap="round"
              strokeLinejoin="round"
            />
            <line
              x1="243.5"
              y1="143.5"
              x2="243"
              y2="244"
              id="Line-Copy"
              stroke={color}
              strokeWidth="35"
              strokeLinecap="round"
              strokeLinejoin="round"
              transform="translate(243.000000, 193.500000) rotate(-90.000000) translate(-243.000000, -193.500000) "
            />
            <path
              d="M311.141293,250.494449 L419.869271,421.953416 C426.080391,431.748064 423.175368,444.723302 413.38072,450.934422 C408.69513,453.905715 403.024085,454.901993 397.606331,453.705637 L199.309536,409.917463 C188.523682,407.535716 181.710807,396.861266 184.092554,386.075411 C184.979005,382.061076 187.080988,378.41743 190.112362,375.64048 L240.798784,329.208176 L240.798784,329.208176 L309.236749,375.213218 C311.987878,377.062569 315.713179,376.369085 317.614549,373.653647 C319.50547,370.953132 318.849165,367.231038 316.14865,365.340117 L249.140511,318.420513 L249.140511,318.420513 L275.749647,253.609161 C279.944792,243.391131 291.628978,238.508617 301.847008,242.703761 C305.676762,244.276116 308.924198,246.998193 311.141293,250.494449 Z"
              id="Triangle"
              fill={color}
              transform="translate(304.328601, 341.216819) rotate(-35.000000) translate(-304.328601, -341.216819) "
            />
          </g>
        </g>
      </g>
    </svg>
  );
};

export default ScheduleIcon;
