All files / src/assets/icons MoneyIcon.tsx

100% Statements 2/2
25% Branches 1/4
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 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49              519x           2x                                                                      
interface IconProps {
  height?: number;
  width?: number;
  fill?: string;
  stroke?: string;
}
 
const MoneyIcon = ({
  width = 24,
  height = 24,
  fill = "none",
  stroke = "#4C4A52",
}: IconProps) => {
  return (
    <svg
      width={width}
      height={height}
      viewBox="0 0 24 24"
      fill={fill}
      xmlns="http://www.w3.org/2000/svg"
    >
      <rect
        x="3"
        y="6"
        width="18"
        height="12"
        rx="2"
        stroke={stroke}
        strokeWidth="1.5"
      />
      <path
        d="M6 9H8"
        stroke={stroke}
        strokeWidth="1.5"
        strokeLinecap="round"
      />
      <path
        d="M16 15H18"
        stroke={stroke}
        strokeWidth="1.5"
        strokeLinecap="round"
      />
      <circle cx="12" cy="12" r="2.25" stroke={stroke} strokeWidth="1.5" />
    </svg>
  );
};
 
export default MoneyIcon;