All files / src/assets/icons HomeIcon.tsx

50% Statements 1/2
0% Branches 0/3
0% Functions 0/1
50% Lines 1/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 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42            519x                                                                      
type IconProps = {
  height?: number;
  width?: number;
  fill?: string;
};
 
const HomeIcon = ({ width = 35, height = 34, fill = "#727179" }: IconProps) => {
  return (
    <svg
      width={width}
      height={height}
      viewBox="0 0 35 34"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
    >
      <path
        opacity="0.5"
        d="M7.92725 17.6418C7.92725 16.6327 7.92725 16.1281 8.14891 15.6974C8.37058 15.2667 8.78115 14.9734 9.60229 14.3869L16.6814 9.33034C17.2428 8.92938 17.5234 8.7289 17.8439 8.7289C18.1644 8.7289 18.445 8.92938 19.0064 9.33034L26.0855 14.3869C26.9067 14.9734 27.3172 15.2667 27.5389 15.6974C27.7606 16.1281 27.7606 16.6327 27.7606 17.6418V26.3333C27.7606 27.2761 27.7606 27.7475 27.4677 28.0404C27.1748 28.3333 26.7034 28.3333 25.7606 28.3333H9.92725C8.98444 28.3333 8.51303 28.3333 8.22014 28.0404C7.92725 27.7475 7.92725 27.2761 7.92725 26.3333V17.6418Z"
        fill={fill}
      />
      <path
        d="M5.09375 16.3866C5.09375 16.6535 5.09375 16.7869 5.17785 16.8281C5.26194 16.8692 5.36727 16.7873 5.57793 16.6234L16.6159 8.03835C17.2057 7.57958 17.5006 7.35019 17.8438 7.35019C18.1869 7.35019 18.4818 7.57958 19.0716 8.03835L30.1096 16.6234C30.3202 16.7873 30.4256 16.8692 30.5097 16.8281C30.5938 16.7869 30.5938 16.6535 30.5938 16.3866V15.1448C30.5938 14.6645 30.5938 14.4243 30.4921 14.2164C30.3904 14.0085 30.2008 13.861 29.8216 13.5661L19.0716 5.20502C18.4818 4.74625 18.1869 4.51686 17.8438 4.51686C17.5006 4.51686 17.2057 4.74625 16.6159 5.20502L5.86587 13.5661C5.4867 13.861 5.29712 14.0085 5.19543 14.2164C5.09375 14.4243 5.09375 14.6645 5.09375 15.1448V16.3866Z"
        fill={fill}
      />
      <path
        d="M19.3856 19.8333H16.3022C15.1977 19.8333 14.3022 20.7287 14.3022 21.8333V28.1833C14.3022 28.2661 14.3694 28.3333 14.4522 28.3333H21.2356C21.3184 28.3333 21.3856 28.2661 21.3856 28.1833V21.8333C21.3856 20.7287 20.4901 19.8333 19.3856 19.8333Z"
        fill={fill}
      />
      <rect
        x="23.5103"
        y="5.66675"
        width="2.83333"
        height="5.66667"
        rx="0.5"
        fill={fill}
      />
    </svg>
  );
};
 
export default HomeIcon;