All files / packages/ui/src/icons Gear.tsx

100% Statements 2/2
100% Branches 3/3
100% Functions 1/1
100% Lines 2/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24            3x         3x                        
import Svg, { Path } from "react-native-svg";
 
import { IconProps } from "@repo/types/icons";
 
import { colors } from "../themes";
 
export const GearIcon = ({
  width = 32,
  height = 32,
  color = colors.icon.default,
}: IconProps) => (
  <Svg
    width={width}
    height={height}
    viewBox={`0 0 ${width} ${height}`}
    fill="none"
  >
    <Path
      d="M16.0711 17.6096C18.5164 17.008 20.1271 14.2879 19.3757 11.8497C19.2585 11.4701 19.1483 11.2488 18.691 11.3389L16.4003 13.5264L14.944 13.0568L14.4743 11.6005L16.5842 9.46498C17.0461 8.7314 15.985 8.53345 15.4757 8.48688C13.1865 8.27729 11.0223 9.57831 10.4152 11.8373C10.1769 12.7238 10.2087 13.4511 10.3718 14.3462L0.437822 24.3476C-0.881062 26.647 1.83278 28.9991 3.92095 27.3658L13.6546 17.629C14.5116 17.7819 15.2172 17.82 16.0711 17.6096ZM27.9489 12.5157C27.7967 10.7466 25.7931 11.2978 24.5845 11.2023C24.2957 10.2894 23.9728 9.38192 23.4814 8.55597C24.2259 7.5507 26.0641 6.61374 24.8966 5.16677C24.6117 4.81357 22.8363 3.03358 22.5235 2.89074C21.1573 2.26585 20.3864 3.7951 19.4836 4.51858C18.6282 4.06136 17.7331 3.68254 16.7977 3.4155C16.7022 2.20685 17.2534 0.203296 15.4843 0.0511469C14.7282 -0.0140599 13.2098 -0.0210463 12.4615 0.054252C10.7638 0.224255 11.2955 2.25576 11.2031 3.4155C10.2871 3.69962 9.38745 4.03419 8.55684 4.51858C7.60513 3.85099 6.88087 2.24877 5.47737 2.89074C5.16531 3.03358 3.38843 4.81434 3.10431 5.16677C1.96009 6.58502 3.71213 7.5507 4.51945 8.51715C4.05291 9.3695 3.70049 10.2739 3.41637 11.203C2.31484 11.2985 0.296541 10.7769 0.0690937 12.3597C-0.030269 13.0506 -0.0100859 14.7646 0.0520157 15.4842C0.205717 17.2727 2.21859 16.675 3.42802 16.8155C3.66556 17.2952 3.91707 19.26 4.76243 18.6211L6.86767 16.484C6.98489 16.2139 6.74735 15.7124 6.69612 15.4066C5.53947 8.47135 13.4753 3.78501 18.7927 8.30756C24.5736 13.2245 20.2211 22.577 12.5942 21.3047C12.2884 21.2534 11.7869 21.0159 11.5168 21.1331L9.25936 23.4115C9.15767 23.9378 9.74919 24.0798 10.135 24.2281C10.4781 24.3601 10.8406 24.4439 11.1853 24.572C11.3242 25.6751 10.7583 27.7011 12.359 27.9309C13.0499 28.0303 14.7639 28.0101 15.4835 27.948C17.2526 27.7958 16.7015 25.7923 16.7969 24.5836C17.7098 24.2949 18.6173 23.9719 19.4433 23.4805C20.4291 24.2133 21.3692 26.0244 22.8014 24.9221C23.1569 24.6488 24.9851 22.8052 25.1271 22.483C25.7163 21.1447 24.1801 20.3654 23.4806 19.482C23.9301 18.6335 24.3043 17.7486 24.569 16.8225C25.6713 16.661 27.6997 17.2494 27.9302 15.6394C28.0296 14.9486 28.0094 13.2346 27.9473 12.5149L27.9489 12.5157Z"
      fill={color}
    />
  </Svg>
);