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

const SettingsIcon = ({size = 24, color = 'white'}: {size?: number, color?: string}) => (
  <Svg
    width={size}
    height={size}
    viewBox="0 0 24 24"
    fill="none"
  >
    <Path
      d="M14.0007 22.7812H9.99287C9.98818 22.7812 9.98349 22.7812 9.9788 22.7812C9.3788 22.7719 8.87724 22.3547 8.75536 21.7687C8.75068 21.7547 8.75068 21.7359 8.74599 21.7219L8.43193 19.4813H8.42724C8.04286 19.2938 7.66786 19.0781 7.3163 18.8297L5.21161 19.6781C5.20693 19.6781 5.20224 19.6828 5.19755 19.6828C4.62568 19.8984 3.98349 19.6781 3.66943 19.1484C3.66943 19.1437 3.66474 19.1437 3.66474 19.1391L1.65849 15.6703C1.34912 15.1406 1.47099 14.4656 1.94443 14.0719C1.94911 14.0672 1.9538 14.0625 1.95849 14.0578L3.74911 12.6516L3.74443 12.6469C3.72568 12.4125 3.7163 12.2016 3.7163 11.9953C3.7163 11.7844 3.72568 11.5734 3.74443 11.3484L1.96318 9.95156C1.9538 9.94688 1.94911 9.94219 1.94443 9.93281C1.48036 9.53906 1.36318 8.86875 1.66787 8.34375L3.67411 4.875C3.67411 4.87031 3.6788 4.87031 3.6788 4.86563C3.99287 4.34063 4.63505 4.11563 5.20693 4.33125C5.21161 4.33125 5.2163 4.33594 5.22099 4.33594L7.32568 5.18437C7.68193 4.94062 8.05224 4.725 8.43662 4.5375L8.75068 2.29219C8.75068 2.28281 8.75536 2.27344 8.75536 2.26875C8.8538 1.67344 9.36943 1.23281 9.97411 1.21875C9.9788 1.21875 9.98349 1.21875 9.98818 1.21875H13.996C14.0007 1.21875 14.0054 1.21875 14.0101 1.21875C14.6101 1.22813 15.1116 1.64531 15.2335 2.23125C15.2382 2.24531 15.2382 2.26406 15.2429 2.27812L15.5569 4.51875H15.5616C15.946 4.70625 16.321 4.92188 16.6726 5.17031L18.7772 4.32187C18.7819 4.32187 18.7866 4.31719 18.7913 4.31719C19.3632 4.09687 20.0054 4.32188 20.3194 4.85156C20.3194 4.85625 20.3241 4.85625 20.3241 4.86094L22.3304 8.32969C22.6397 8.85937 22.5179 9.53438 22.0444 9.92813C22.0397 9.93281 22.0351 9.9375 22.0304 9.94219L20.2397 11.3484C20.2397 11.3531 20.2397 11.3578 20.2397 11.3578C20.2585 11.5969 20.2679 11.8078 20.2679 12V12.0047C20.2679 12.2156 20.2585 12.4313 20.2397 12.6422L22.0304 14.0438C22.0351 14.0484 22.0397 14.0531 22.0444 14.0578C22.5179 14.4516 22.6397 15.1219 22.3304 15.6562L20.3241 19.125C20.3241 19.1297 20.3194 19.1297 20.3194 19.1344C20.0054 19.6594 19.3632 19.8844 18.7913 19.6688C18.7866 19.6688 18.7819 19.6641 18.7772 19.6641L16.6726 18.8156C16.3163 19.0594 15.946 19.275 15.5616 19.4625L15.2476 21.7078C15.2476 21.7172 15.2429 21.7266 15.2429 21.7313C15.1397 22.3266 14.6241 22.7672 14.0194 22.7812C14.0101 22.7812 14.0054 22.7812 14.0007 22.7812ZM10.1991 21.2812H13.7897L14.0757 19.2516C14.146 18.7594 14.4554 18.3328 14.9054 18.1125C15.2241 17.9578 15.5288 17.7797 15.8194 17.5828C16.2319 17.2969 16.7616 17.2359 17.2351 17.4234L19.1382 18.1875L20.9288 15.0891L18.9788 13.5656C18.7679 13.4016 18.6601 13.1344 18.6976 12.8719C18.7397 12.5859 18.7585 12.2906 18.7632 12C18.7632 11.8453 18.7538 11.6766 18.7397 11.4797C18.6929 10.9734 18.9085 10.4812 19.3069 10.1672L20.9241 8.89688L19.1335 5.79844L17.2304 6.5625C16.7616 6.75 16.2319 6.69375 15.8147 6.40313C15.5288 6.20156 15.2241 6.02344 14.9101 5.87344C14.4601 5.65781 14.146 5.23125 14.071 4.73438L13.7897 2.71875H10.1991L9.91318 4.74844C9.84286 5.24063 9.53349 5.66719 9.08349 5.8875C8.76474 6.04219 8.46005 6.22031 8.16943 6.41719C7.75693 6.70312 7.22724 6.76406 6.7538 6.57656L4.86005 5.8125L3.06943 8.91094L4.67724 10.1766C5.07568 10.4906 5.28661 10.9781 5.24443 11.4844C5.22568 11.6672 5.22099 11.8359 5.22099 12C5.22099 12.1594 5.23036 12.3281 5.24443 12.5203C5.2913 13.0266 5.08036 13.5188 4.68193 13.8328L3.06474 15.1031L4.85536 18.2016L6.7538 17.4375C7.22255 17.25 7.75224 17.3062 8.16943 17.5969C8.45536 17.7984 8.76005 17.9766 9.07411 18.1266C9.52411 18.3422 9.83818 18.7687 9.91318 19.2656L10.1991 21.2812ZM11.9991 15.75C11.8772 15.75 11.7507 15.7453 11.6288 15.7313C10.6304 15.6328 9.73505 15.15 9.09755 14.3766C8.46005 13.6031 8.16474 12.6281 8.26318 11.6297C8.46474 9.57188 10.3069 8.0625 12.3647 8.26406C14.1366 8.44219 15.5476 9.85781 15.7257 11.625C15.7491 11.8687 15.7491 12.1172 15.7257 12.3656C15.5335 14.3016 13.9022 15.75 11.9991 15.75ZM11.9897 9.75C11.4694 9.75 10.9726 9.92812 10.5647 10.2609C10.1007 10.6406 9.81005 11.1797 9.7538 11.7797C9.69286 12.3797 9.87099 12.9609 10.2554 13.4297C10.6351 13.8938 11.1741 14.1844 11.7741 14.2406C13.0069 14.3625 14.1132 13.4578 14.2351 12.2203C14.2491 12.075 14.2491 11.925 14.2351 11.7797C14.1272 10.7156 13.2788 9.86719 12.2147 9.75937C12.1397 9.75469 12.0647 9.75 11.9897 9.75Z"
      fill="white"
    />
  </Svg>
);

export default SettingsIcon;