|
1
|
import * as React from "react" |
|
2
|
import type { IconProps } from "../types" |
|
3
|
const Mastercard = React.forwardRef<SVGSVGElement, IconProps>( |
|
4
|
({ color = "currentColor", ...props }, ref) => { |
|
5
|
return ( |
|
6
|
<svg |
|
7
|
xmlns="http://www.w3.org/2000/svg" |
|
8
|
width={20} |
|
9
|
height={20} |
|
10
|
viewBox="0 0 20 20" |
|
11
|
fill="none" |
|
12
|
ref={ref} |
|
13
|
{...props} |
|
14
|
> |
|
15
|
<path fill="#F4F4F5" d="M0 0h20v20H0z" /> |
|
16
|
<path fill="url(#a)" fillOpacity={0.2} d="M0 0h20v20H0z" /> |
|
17
|
<path fill="#FF5A00" d="M11.889 6.56H8.1v6.879h3.789z" /> |
|
18
|
<path |
|
19
|
fill="#EB001B" |
|
20
|
d="M8.352 10c0-1.397.65-2.638 1.648-3.44a4.28 4.28 0 0 0-2.67-.935C4.935 5.625 3 7.582 3 10s1.936 4.375 4.33 4.375c1.01 0 1.936-.352 2.67-.936A4.38 4.38 0 0 1 8.352 10" |
|
21
|
/> |
|
22
|
<path |
|
23
|
fill="#F79E1B" |
|
24
|
d="M17 10c0 2.418-1.936 4.375-4.33 4.375a4.28 4.28 0 0 1-2.67-.936A4.37 4.37 0 0 0 11.648 10c0-1.397-.65-2.638-1.648-3.44a4.27 4.27 0 0 1 2.67-.935C15.063 5.625 17 7.595 17 10" |
|
25
|
/> |
|
26
|
<defs> |
|
27
|
<linearGradient |
|
28
|
id="a" |
|
29
|
x1={10} |
|
30
|
x2={10} |
|
31
|
y1={0} |
|
32
|
y2={20} |
|
33
|
gradientUnits="userSpaceOnUse" |
|
34
|
> |
|
35
|
<stop stopColor="#fff" /> |
|
36
|
<stop offset={1} stopColor="#fff" stopOpacity={0} /> |
|
37
|
</linearGradient> |
|
38
|
</defs> |
|
39
|
</svg> |
|
40
|
) |
|
41
|
} |
|
42
|
) |
|
43
|
Mastercard.displayName = "Mastercard" |
|
44
|
export default Mastercard |