Files
web/packages/design-system/lib/components/Payment/Icons/GooglePayIcon.tsx
Joakim Jäderberg 6fa301f8e7 Merged in SW-3396-move-my-saved-cards-to-design-system (pull request #2762)
SW-3396 move my saved cards to design system

* Move PaymentOption, PaymentOptionsGroup, PaymentIcons and MySavedCards (renamed SelectPaymentMethod) to design-system

* Remove unused svg payment icons

* cleanu

* cleanup

* trackUpdatePaymentMethod: remove hotelId argument that was never passed


Approved-by: Anton Gunnarsson
2025-09-04 13:01:36 +00:00

59 lines
4.5 KiB
TypeScript

import { PaymentIconProps } from './IconProps'
export const GooglePayIcon = (props: PaymentIconProps) => {
return (
<svg
width="48"
height="26"
viewBox="0 0 48 26"
fill="none"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<g clipPath="url(#clip0_5597_436)">
<path
d="M35.234 0H12.766C5.74468 0 0 5.85 0 13C0 20.15 5.74468 26 12.766 26H35.234C42.2553 26 48 20.15 48 13C48 5.85 42.2553 0 35.234 0Z"
fill="white"
/>
<path
d="M35.234 1.053C36.8106 1.053 38.3426 1.3715 39.7851 1.9955C41.183 2.6 42.434 3.4645 43.5191 4.563C44.5979 5.6615 45.4468 6.942 46.0404 8.3655C46.6532 9.8345 46.966 11.3945 46.966 13C46.966 14.6055 46.6532 16.1655 46.0404 17.6345C45.4468 19.058 44.5979 20.332 43.5191 21.437C42.4404 22.5355 41.183 23.4 39.7851 24.0045C38.3426 24.6285 36.8106 24.947 35.234 24.947H12.766C11.1894 24.947 9.65745 24.6285 8.21489 24.0045C6.81702 23.4 5.56596 22.5355 4.48085 21.437C3.40213 20.3385 2.55319 19.058 1.95957 17.6345C1.34681 16.1655 1.03404 14.6055 1.03404 13C1.03404 11.3945 1.34681 9.8345 1.95957 8.3655C2.55319 6.942 3.40213 5.668 4.48085 4.563C5.55957 3.4645 6.81702 2.6 8.21489 1.9955C9.65745 1.3715 11.1894 1.053 12.766 1.053H35.234ZM35.234 0H12.766C5.74468 0 0 5.85 0 13C0 20.15 5.74468 26 12.766 26H35.234C42.2553 26 48 20.15 48 13C48 5.85 42.2553 0 35.234 0Z"
fill="#3C4043"
/>
<path
d="M23.0598 13.9235V17.856H21.8359V8.14502H25.0806C25.9029 8.14502 26.6041 8.42452 27.1778 8.98352C27.7642 9.54252 28.0575 10.225 28.0575 11.031C28.0575 11.8565 27.7642 12.539 27.1778 13.0915C26.6104 13.644 25.9092 13.917 25.0806 13.917H23.0598V13.9235ZM23.0598 9.34102V12.7275H25.1061C25.5905 12.7275 25.9985 12.5585 26.3172 12.227C26.6423 11.8955 26.808 11.4925 26.808 11.0375C26.808 10.589 26.6423 10.1925 26.3172 9.86102C25.9985 9.51652 25.5969 9.34752 25.1061 9.34752H23.0598V9.34102Z"
fill="#3C4043"
/>
<path
d="M31.2576 10.9912C32.1628 10.9912 32.8767 11.2382 33.3994 11.7322C33.9221 12.2262 34.1835 12.9022 34.1835 13.7602V17.8552H33.0169V16.9322H32.9659C32.4624 17.6927 31.7867 18.0697 30.9452 18.0697C30.2249 18.0697 29.6257 17.8552 29.1412 17.4197C28.6568 16.9842 28.4146 16.4447 28.4146 15.7947C28.4146 15.1057 28.6695 14.5597 29.1795 14.1567C29.6895 13.7472 30.3715 13.5457 31.2193 13.5457C31.946 13.5457 32.5452 13.6822 33.0106 13.9552V13.6692C33.0106 13.2337 32.8448 12.8697 32.507 12.5642C32.1691 12.2587 31.7739 12.1092 31.3213 12.1092C30.6393 12.1092 30.0974 12.4017 29.7022 12.9932L28.6249 12.3042C29.2177 11.4267 30.0974 10.9912 31.2576 10.9912ZM29.6767 15.8142C29.6767 16.1392 29.8106 16.4122 30.0847 16.6267C30.3524 16.8412 30.6711 16.9517 31.0345 16.9517C31.5508 16.9517 32.0098 16.7567 32.4114 16.3667C32.813 15.9767 33.0169 15.5217 33.0169 14.9952C32.6345 14.6897 32.1054 14.5337 31.4233 14.5337C30.9261 14.5337 30.5118 14.6572 30.1803 14.8977C29.8424 15.1512 29.6767 15.4567 29.6767 15.8142Z"
fill="#3C4043"
/>
<path
d="M40.8385 11.2065L36.7588 20.7745H35.4966L37.0138 17.427L34.3237 11.2065H35.656L37.5938 15.9775H37.6193L39.5062 11.2065H40.8385Z"
fill="#3C4043"
/>
<path
d="M18.1926 13.1301C18.1926 12.7232 18.1569 12.3339 18.0906 11.9595H12.9604V14.1045L15.915 14.1051C15.7952 14.8188 15.4095 15.4272 14.8186 15.8328V17.2245H16.5773C17.6043 16.2553 18.1926 14.8227 18.1926 13.1301Z"
fill="#4285F4"
/>
<path
d="M14.8184 15.8321C14.3289 16.1688 13.6984 16.3658 12.9609 16.3658C11.5362 16.3658 10.3276 15.3869 9.89475 14.0674H8.08057V15.5026C8.97937 17.3213 10.8267 18.5693 12.9609 18.5693C14.4359 18.5693 15.6751 18.0746 16.5771 17.2231L14.8184 15.8321Z"
fill="#34A853"
/>
<path
d="M9.72406 13.0025C9.72406 12.632 9.78462 12.2739 9.8949 11.9372V10.502H8.08072C7.70908 11.254 7.5 12.1029 7.5 13.0025C7.5 13.9021 7.70972 14.751 8.08072 15.5031L9.8949 14.0679C9.78462 13.7312 9.72406 13.373 9.72406 13.0025Z"
fill="#FABB05"
/>
<path
d="M12.9614 9.63953C13.7665 9.63953 14.4874 9.92229 15.0567 10.4748L16.6152 8.88684C15.6686 7.98789 14.4345 7.43604 12.9614 7.43604C10.8278 7.43604 8.97986 8.68403 8.08105 10.5027L9.89524 11.9379C10.3281 10.6184 11.5367 9.63953 12.9614 9.63953Z"
fill="#E94235"
/>
</g>
<defs>
<clipPath id="clip0_5597_436">
<rect width="48" height="26" fill="white" />
</clipPath>
</defs>
</svg>
)
}