All files / src/assets/rebrandIcons MoneyArrowUpIcon.tsx

100% Statements 2/2
50% Branches 1/2
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                          486x 8x                                  
import React from "react";
 
type Props = {
  size?: string | number;
  color?: string;
};
 
/**
 * MoneyArrowUp — rebranding icon (Figma node 15095:4044). A banknote with an
 * upward arrow, used for the Gross Fees stat card in the Reconciliation Hub.
 * Defaults to `currentColor` so it inherits the surrounding icon-badge color,
 * matching the phosphor icons rendered alongside it.
 */
const MoneyArrowUpIcon = ({ size = 20, color = "currentColor" }: Props) => {
  return (
    <svg
      xmlns="http://www.w3.org/2000/svg"
      width={size}
      height={size}
      viewBox="0 0 20 20"
      fill="none"
    >
      <path
        d="M6.25047 9.62437H4.87156C4.66178 10.3339 4.27744 10.9801 3.75437 11.5033C3.23121 12.0264 2.58494 12.4106 1.87547 12.6205V15.3783C2.58503 15.5881 3.23115 15.9722 3.75437 16.4955C4.2776 17.0187 4.66171 17.6648 4.87156 18.3744H15.1294C15.3392 17.6649 15.7234 17.0186 16.2466 16.4955C16.7698 15.9724 17.416 15.5881 18.1255 15.3783V12.6205C17.4158 12.4106 16.7699 12.0266 16.2466 11.5033C15.7233 10.98 15.3392 10.3341 15.1294 9.62437H13.7505V8.37437H18.7505C18.9161 8.3745 19.0758 8.43989 19.1929 8.55699C19.3099 8.6741 19.3754 8.83378 19.3755 8.99937V18.9994C19.3755 19.1649 19.3098 19.3246 19.1929 19.4418C19.0758 19.5589 18.9161 19.6243 18.7505 19.6244H1.25047C1.08471 19.6244 0.925294 19.559 0.808085 19.4418C0.690875 19.3245 0.625468 19.1651 0.625468 18.9994V8.99937C0.625584 8.83377 0.690979 8.6741 0.808085 8.55699C0.925253 8.44007 1.08492 8.37437 1.25047 8.37437H6.25047V9.62437ZM1.87547 18.3744H3.54539C3.22305 17.6249 2.62495 17.0268 1.87547 16.7045V18.3744ZM18.1255 16.7045C17.376 17.0267 16.778 17.625 16.4555 18.3744H18.1255V16.7045ZM10.0005 10.8744C10.8291 10.8745 11.6245 11.2035 12.2104 11.7894C12.7964 12.3754 13.1254 13.1707 13.1255 13.9994C13.1255 14.6172 12.9422 15.2219 12.5991 15.7357C12.2559 16.2493 11.7673 16.6495 11.1968 16.8861C10.626 17.1225 9.99706 17.1852 9.39109 17.0648C8.78491 16.9442 8.22754 16.6464 7.79051 16.2093C7.35347 15.7723 7.05562 15.2149 6.93504 14.6087C6.81465 14.0028 6.87732 13.3739 7.11375 12.8031C7.35033 12.2325 7.75055 11.7439 8.26414 11.4007C8.77793 11.0576 9.38262 10.8744 10.0005 10.8744ZM10.7182 12.267C10.3758 12.1251 9.99781 12.0883 9.63426 12.1605C9.27092 12.2329 8.93635 12.4113 8.6743 12.6732C8.4123 12.9352 8.23407 13.2698 8.1616 13.6332C8.08927 13.9968 8.1262 14.3746 8.26805 14.7171C8.40991 15.0595 8.65037 15.352 8.95848 15.558C9.26679 15.7639 9.62968 15.8744 10.0005 15.8744C10.4976 15.8742 10.9751 15.6771 11.3266 15.3255C11.678 14.974 11.8755 14.4964 11.8755 13.9994C11.8754 13.6287 11.765 13.2656 11.5591 12.9574C11.3531 12.6494 11.0605 12.4088 10.7182 12.267ZM1.87547 11.2943C2.62487 10.9719 3.22312 10.3738 3.54539 9.62437H1.87547V11.2943ZM16.4555 9.62437C16.7779 10.374 17.3758 10.9719 18.1255 11.2943V9.62437H16.4555ZM9.60008 0.769881C9.83184 0.576891 10.1682 0.576814 10.3999 0.769881L13.3999 3.26988C13.665 3.49081 13.7008 3.88459 13.48 4.14976C13.259 4.41492 12.8652 4.45077 12.6001 4.22984L10.6255 2.58433V9.00035C10.6253 9.34522 10.3453 9.6251 10.0005 9.62535C9.6554 9.62535 9.37565 9.34537 9.37547 9.00035V2.58336L7.39988 4.22984C7.13471 4.45082 6.74098 4.41494 6.52 4.14976C6.29908 3.88459 6.33492 3.49084 6.60008 3.26988L9.60008 0.769881Z"
        fill={color}
      />
    </svg>
  );
};
 
export default MoneyArrowUpIcon;