fix(SW-3691): Setup one prettier config for whole repo * Setup prettierrc in root and remove other configs Approved-by: Joakim Jäderberg Approved-by: Linus Flood
113 lines
8.2 KiB
TypeScript
113 lines
8.2 KiB
TypeScript
import { PaymentIconProps } from "./IconProps"
|
|
|
|
export const SwishIcon = (props: PaymentIconProps) => {
|
|
return (
|
|
<svg
|
|
width="48"
|
|
height="32"
|
|
viewBox="0 0 48 32"
|
|
fill="none"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
{...props}
|
|
>
|
|
<g clipPath="url(#clip0_5382_46851)">
|
|
<path
|
|
d="M46.4 0H1.6C0.716344 0 0 0.716344 0 1.6V30.4C0 31.2837 0.716344 32 1.6 32H46.4C47.2837 32 48 31.2837 48 30.4V1.6C48 0.716344 47.2837 0 46.4 0Z"
|
|
fill="white"
|
|
/>
|
|
<rect
|
|
x="0.5"
|
|
y="0.5"
|
|
width="47"
|
|
height="31"
|
|
rx="2.5"
|
|
stroke="#E9E8E7"
|
|
/>
|
|
<path
|
|
d="M18.8844 18.2247L18.9947 18.0685C19.1325 17.8853 19.2868 17.8638 19.5128 17.9823C19.7278 18.0954 20.075 18.2894 20.5435 18.2894C20.9403 18.2894 21.1884 18.1116 21.1884 17.8314C21.1884 17.0988 18.8955 17.3735 18.8955 15.822C18.8955 14.9385 19.6947 14.4698 20.6647 14.4698C21.2766 14.4698 21.7064 14.6638 21.949 14.7984C22.1584 14.9062 22.186 15.0894 22.0868 15.2941L21.9986 15.4557C21.8884 15.6712 21.7175 15.6927 21.4915 15.5958C21.2931 15.5096 20.9899 15.3749 20.6151 15.3749C20.2183 15.3749 19.9923 15.5365 19.9923 15.8166C19.9923 16.5601 22.2797 16.2692 22.2797 17.8099C22.2797 18.6072 21.5907 19.1998 20.5214 19.1998C19.7774 19.1998 19.2648 18.925 18.9782 18.7419C18.7687 18.6126 18.7522 18.4186 18.8844 18.2247ZM22.671 14.987C22.5994 14.7392 22.7261 14.5722 22.9852 14.5722H23.4206C23.6466 14.5722 23.7844 14.6799 23.8285 14.9008L24.5726 17.5406C24.6277 17.7776 24.6607 18.02 24.6607 18.02H24.6773C24.6773 18.02 24.7158 17.7776 24.7765 17.5406L25.5536 14.9008C25.5977 14.6907 25.741 14.583 25.9725 14.583H26.3142C26.5402 14.583 26.6725 14.6907 26.7277 14.9008L27.4993 17.5406C27.5709 17.7776 27.5985 18.02 27.5985 18.02H27.615C27.615 18.02 27.6481 17.7776 27.7142 17.5406L28.4473 14.9008C28.5024 14.6799 28.6347 14.5722 28.8607 14.5722H29.2796C29.5496 14.5722 29.6654 14.7392 29.5937 14.987L28.4087 18.7742C28.3426 18.9897 28.1993 19.0867 27.9843 19.0867H27.378C27.1521 19.0867 27.0087 18.9789 26.9536 18.7688L26.2646 16.5062C26.193 16.2692 26.1544 16.0214 26.1544 16.0214H26.1379C26.1379 16.0214 26.0938 16.2692 26.0221 16.5062L25.3276 18.7634C25.2725 18.9789 25.1348 19.0813 24.9088 19.0813H24.2804C24.0655 19.0813 23.9277 18.9843 23.867 18.7688L22.671 14.987ZM30.2827 14.9439C30.2827 14.7015 30.4094 14.5722 30.652 14.5722H31.0488C31.2913 14.5722 31.4181 14.7015 31.4181 14.9439V18.715C31.4181 18.9628 31.2913 19.0867 31.0488 19.0867H30.652C30.4094 19.0867 30.2827 18.9628 30.2827 18.715V14.9439ZM32.1842 18.2247L32.2945 18.0685C32.4268 17.8853 32.5866 17.8638 32.8126 17.9823C33.0275 18.0954 33.3748 18.2894 33.8432 18.2894C34.2401 18.2894 34.4881 18.1116 34.4881 17.8314C34.4881 17.0988 32.2008 17.3735 32.2008 15.822C32.2008 14.9385 32.9944 14.4698 33.9645 14.4698C34.5818 14.4698 35.0062 14.6638 35.2488 14.7984C35.4582 14.9062 35.4858 15.0894 35.3865 15.2941L35.2984 15.4557C35.1936 15.6712 35.0172 15.6927 34.7913 15.5958C34.5928 15.5096 34.2952 15.3749 33.9149 15.3749C33.5181 15.3749 33.2921 15.5365 33.2921 15.8166C33.2921 16.5601 35.5794 16.2692 35.5794 17.8099C35.5794 18.6072 34.8905 19.1998 33.8212 19.1998C33.0771 19.1998 32.559 18.925 32.2834 18.7419C32.0685 18.6126 32.0464 18.4186 32.1842 18.2247ZM36.2519 13.1715C36.2519 12.9345 36.3897 12.7998 36.6322 12.7998H37.018C37.2716 12.7998 37.3983 12.9291 37.3983 13.1715V14.9978C37.3983 15.2186 37.3708 15.3749 37.3708 15.3749H37.3873C37.6133 14.9439 38.192 14.4644 38.9912 14.4644C40.0162 14.4644 40.6006 14.987 40.6006 16.183V18.715C40.6006 18.9628 40.463 19.0867 40.2202 19.0867H39.829C39.5754 19.0867 39.4487 18.9628 39.4487 18.715V16.4146C39.4487 15.8651 39.3054 15.4934 38.7266 15.4934C37.9219 15.4934 37.3928 16.1345 37.3928 16.991V18.715C37.3928 18.9628 37.266 19.0867 37.0125 19.0867H36.6267C36.3842 19.0867 36.2464 18.9628 36.2464 18.715V13.1715H36.2519ZM41.8354 13.8826C41.9398 13.8826 42.0006 13.818 42.0006 13.7102C42.0006 13.6079 41.9398 13.5486 41.8354 13.5486H41.6698V13.8826H41.8354ZM41.477 13.4948C41.477 13.4355 41.5046 13.4086 41.565 13.4086H41.8738C42.0666 13.4086 42.199 13.5271 42.199 13.7156C42.199 13.8718 42.0942 13.9634 42.0118 13.985V13.9904C42.0118 13.9904 42.0226 14.0012 42.0502 14.0442L42.1934 14.3136C42.2266 14.3729 42.2046 14.416 42.1438 14.416H42.111C42.0614 14.416 42.0282 14.3998 42.0062 14.3513L41.8462 14.0227H41.6754V14.3298C41.6754 14.3836 41.6478 14.416 41.5926 14.416H41.565C41.5046 14.416 41.4826 14.389 41.4826 14.3298V13.4948H41.477ZM41.813 14.7122C42.2598 14.7122 42.5958 14.3621 42.5958 13.915C42.5958 13.4678 42.2542 13.1176 41.813 13.1176C41.3778 13.1176 41.0414 13.4678 41.0414 13.915C41.0362 14.3621 41.3778 14.7122 41.813 14.7122ZM41.813 12.9345C42.3642 12.9345 42.7998 13.3708 42.7998 13.915C42.7942 14.459 42.359 14.89 41.813 14.89C41.273 14.89 40.8378 14.4537 40.8378 13.9096C40.8378 13.3708 41.273 12.9345 41.813 12.9345Z"
|
|
fill="#4D4D4F"
|
|
/>
|
|
<path
|
|
fillRule="evenodd"
|
|
clipRule="evenodd"
|
|
d="M8.38525 21.0546C10.6351 22.1307 13.4118 21.5981 15.0893 19.5994C17.0776 17.2303 16.7688 13.6986 14.3995 11.7109L12.8245 13.5876C14.6755 15.1405 14.9167 17.8997 13.3634 19.7505C12.1248 21.2263 10.0855 21.719 8.38525 21.0546Z"
|
|
fill="url(#paint0_linear_5382_46851)"
|
|
/>
|
|
<path
|
|
fillRule="evenodd"
|
|
clipRule="evenodd"
|
|
d="M8.38525 21.0547C10.6351 22.1307 13.4118 21.5982 15.0893 19.5995C15.2948 19.3547 15.4756 19.0974 15.6323 18.8308C15.8972 17.1846 15.3146 15.4447 13.9442 14.295C13.5961 14.0029 13.2192 13.7676 12.8247 13.5879C14.6755 15.1407 14.9167 17.8998 13.3634 19.7505C12.1248 21.2263 10.0855 21.7191 8.38525 21.0547Z"
|
|
fill="url(#paint1_linear_5382_46851)"
|
|
/>
|
|
<path
|
|
fillRule="evenodd"
|
|
clipRule="evenodd"
|
|
d="M13.2149 10.9452C10.965 9.86917 8.18827 10.4017 6.51079 12.4005C4.52251 14.7695 4.83131 18.3013 7.20055 20.2889L8.77559 18.4122C6.92463 16.8594 6.68339 14.1002 8.23671 12.2494C9.47531 10.7736 11.5146 10.2808 13.2149 10.9452Z"
|
|
fill="url(#paint2_linear_5382_46851)"
|
|
/>
|
|
<path
|
|
fillRule="evenodd"
|
|
clipRule="evenodd"
|
|
d="M13.2146 10.9452C10.9648 9.86917 8.18804 10.4017 6.51056 12.4004C6.30512 12.6452 6.12428 12.9024 5.9676 13.169C5.70272 14.8152 6.28528 16.5552 7.65568 17.7049C8.00384 17.997 8.38076 18.2323 8.77512 18.412C6.9244 16.8591 6.6832 14.1001 8.23648 12.2494C9.47508 10.7736 11.5143 10.2808 13.2146 10.9452Z"
|
|
fill="url(#paint3_linear_5382_46851)"
|
|
/>
|
|
</g>
|
|
<defs>
|
|
<linearGradient
|
|
id="paint0_linear_5382_46851"
|
|
x1="12.6109"
|
|
y1="18.7386"
|
|
x2="10.2315"
|
|
y2="13.9987"
|
|
gradientUnits="userSpaceOnUse"
|
|
>
|
|
<stop stopColor="#EF3220" />
|
|
<stop offset="1" stopColor="#FCD205" />
|
|
</linearGradient>
|
|
<linearGradient
|
|
id="paint1_linear_5382_46851"
|
|
x1="14.5468"
|
|
y1="14.6636"
|
|
x2="10.3757"
|
|
y2="21.8844"
|
|
gradientUnits="userSpaceOnUse"
|
|
>
|
|
<stop stopColor="#FCD205" />
|
|
<stop offset="0.263921" stopColor="#F47216" />
|
|
<stop offset="0.560797" stopColor="#B31A93" />
|
|
<stop offset="1" stopColor="#2743A0" />
|
|
</linearGradient>
|
|
<linearGradient
|
|
id="paint2_linear_5382_46851"
|
|
x1="9.03527"
|
|
y1="13.381"
|
|
x2="11.3158"
|
|
y2="18.0191"
|
|
gradientUnits="userSpaceOnUse"
|
|
>
|
|
<stop stopColor="#7FD3B9" />
|
|
<stop offset="0.265705" stopColor="#66CDE1" />
|
|
<stop offset="0.554471" stopColor="#6D8ED1" />
|
|
<stop offset="1" stopColor="#2743A0" />
|
|
</linearGradient>
|
|
<linearGradient
|
|
id="paint3_linear_5382_46851"
|
|
x1="7.07996"
|
|
y1="17.3035"
|
|
x2="11.2185"
|
|
y2="10.1074"
|
|
gradientUnits="userSpaceOnUse"
|
|
>
|
|
<stop stopColor="#1E5CB2" />
|
|
<stop offset="0.246658" stopColor="#4DC4CE" />
|
|
<stop offset="0.564821" stopColor="#66C657" />
|
|
<stop offset="1" stopColor="#FCD205" />
|
|
</linearGradient>
|
|
<clipPath id="clip0_5382_46851">
|
|
<rect width="48" height="32" fill="white" />
|
|
</clipPath>
|
|
</defs>
|
|
</svg>
|
|
)
|
|
}
|