/* eslint-disable max-len */
import React from "react";

const StarIcon = ({ fill, ...props }) => (
  <svg
    {...props}
    viewBox="0 0 512 512"
    fill={fill}
    xmlns="http://www.w3.org/2000/svg"
  >
    <path
      fill-rule="evenodd"
      clip-rule="evenodd"
      d="M242.864 432.489L140.721 488.606C126.923 496.186 109.858 490.643 102.605 476.225C99.7163 470.483 98.7196 463.907 99.7689 457.514L119.277 338.655C120.847 329.088 117.811 319.325 111.159 312.549L28.5233 228.373C17.3612 217.003 17.1328 198.33 28.0132 186.665C32.3458 182.02 38.0229 178.997 44.1655 178.065L158.366 160.723C167.559 159.327 175.506 153.294 179.617 144.589L230.689 36.4478C237.587 21.8406 254.511 15.8432 268.489 23.0523C274.055 25.923 278.561 30.6311 281.308 36.4478L332.38 144.589C336.491 153.294 344.438 159.327 353.631 160.723L467.831 178.065C483.257 180.407 493.944 195.374 491.703 211.494C490.81 217.913 487.918 223.845 483.473 228.373L400.837 312.549C394.185 319.325 391.149 329.088 392.72 338.655L412.227 457.514C414.863 473.569 404.544 488.816 389.181 491.57C383.063 492.666 376.77 491.624 371.276 488.606L269.132 432.489C260.91 427.971 251.087 427.971 242.864 432.489ZM220.137 391.121C242.513 378.827 269.483 378.827 291.859 391.121L359.608 428.341L346.143 346.3C342.15 321.973 349.895 297.064 367.155 279.483L426.075 219.465L346.545 207.388C321.649 203.608 300.454 187.516 289.7 164.745L255.998 93.3841L222.297 164.745C211.543 187.516 190.347 203.608 165.452 207.388L85.9216 219.465L144.842 279.483C162.102 297.064 169.846 321.973 165.854 346.3L152.388 428.341L220.137 391.121Z"
      fill={fill}
    />
  </svg>
);

export default StarIcon;
