All files / src/assets/icons/RebrandedIcons BankIconV2.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                137x                                    
import React from "react";
 
type Props = {
  color?: string;
  width?: string | number;
  height?: string | number;
};
 
const BankIconV2 = ({ color = "#D1D1D0", height = 18, width = 18 }: Props) => {
  return (
    <svg
      width={width}
      height={height}
      viewBox="0 0 18 18"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
    >
      <path
        d="M17.4375 14.6251C17.4375 14.7743 17.3782 14.9174 17.2727 15.0229C17.1673 15.1283 17.0242 15.1876 16.875 15.1876H1.125C0.975816 15.1876 0.832742 15.1283 0.727252 15.0229C0.621763 14.9174 0.5625 14.7743 0.5625 14.6251C0.5625 14.4759 0.621763 14.3329 0.727252 14.2274C0.832742 14.1219 0.975816 14.0626 1.125 14.0626H16.875C17.0242 14.0626 17.1673 14.1219 17.2727 14.2274C17.3782 14.3329 17.4375 14.4759 17.4375 14.6251ZM1.14609 6.90339C1.11264 6.78543 1.11864 6.65976 1.16319 6.54553C1.20775 6.43129 1.2884 6.33474 1.39289 6.27058L8.70539 1.77058C8.794 1.7161 8.89598 1.68726 9 1.68726C9.10402 1.68726 9.206 1.7161 9.29461 1.77058L16.6071 6.27058C16.7116 6.33467 16.7923 6.43115 16.837 6.54533C16.8816 6.65952 16.8877 6.78517 16.8544 6.90314C16.821 7.02112 16.75 7.12497 16.6522 7.19889C16.5544 7.2728 16.4351 7.31273 16.3125 7.31261H14.625V11.8126H15.75C15.8992 11.8126 16.0423 11.8719 16.1477 11.9774C16.2532 12.0829 16.3125 12.2259 16.3125 12.3751C16.3125 12.5243 16.2532 12.6674 16.1477 12.7729C16.0423 12.8783 15.8992 12.9376 15.75 12.9376H2.25C2.10082 12.9376 1.95774 12.8783 1.85225 12.7729C1.74676 12.6674 1.6875 12.5243 1.6875 12.3751C1.6875 12.2259 1.74676 12.0829 1.85225 11.9774C1.95774 11.8719 2.10082 11.8126 2.25 11.8126H3.375V7.31261H1.6875C1.56501 7.31265 1.44585 7.27271 1.34813 7.19885C1.25041 7.12499 1.17947 7.02125 1.14609 6.90339ZM10.125 11.2501C10.125 11.3993 10.1843 11.5424 10.2898 11.6479C10.3952 11.7533 10.5383 11.8126 10.6875 11.8126C10.8367 11.8126 10.9798 11.7533 11.0852 11.6479C11.1907 11.5424 11.25 11.3993 11.25 11.2501V7.87511C11.25 7.72592 11.1907 7.58285 11.0852 7.47736C10.9798 7.37187 10.8367 7.31261 10.6875 7.31261C10.5383 7.31261 10.3952 7.37187 10.2898 7.47736C10.1843 7.58285 10.125 7.72592 10.125 7.87511V11.2501ZM6.75 11.2501C6.75 11.3993 6.80926 11.5424 6.91475 11.6479C7.02024 11.7533 7.16332 11.8126 7.3125 11.8126C7.46168 11.8126 7.60476 11.7533 7.71025 11.6479C7.81574 11.5424 7.875 11.3993 7.875 11.2501V7.87511C7.875 7.72592 7.81574 7.58285 7.71025 7.47736C7.60476 7.37187 7.46168 7.31261 7.3125 7.31261C7.16332 7.31261 7.02024 7.37187 6.91475 7.47736C6.80926 7.58285 6.75 7.72592 6.75 7.87511V11.2501Z"
        fill={color}
      />
    </svg>
  );
};
 
export default BankIconV2;