|
1
|
import { ComponentProps } from "react"; |
|
2
|
|
|
3
|
const GiftCardIcon = (props: ComponentProps<"svg">) => { |
|
4
|
return ( |
|
5
|
<svg |
|
6
|
width="15" |
|
7
|
height="15" |
|
8
|
viewBox="0 0 15 15" |
|
9
|
fill="none" |
|
10
|
xmlns="http://www.w3.org/2000/svg" |
|
11
|
{...props} |
|
12
|
> |
|
13
|
<rect width="15" height="15" fill="#F97316" /> |
|
14
|
<rect |
|
15
|
width="15" |
|
16
|
height="15" |
|
17
|
fill="url(#paint0_linear_28788_25808)" |
|
18
|
fillOpacity="0.2" |
|
19
|
/> |
|
20
|
<g clipPath="url(#clip0_28788_25808)"> |
|
21
|
<path |
|
22
|
d="M7.5 6.375H5.375C4.479 6.375 3.75 5.618 3.75 4.688C3.75 3.757 4.479 3 5.375 3C7.365 3 8.019 5.569 8.047 5.678C8.088 5.846 8.05 6.023 7.943 6.16C7.836 6.296 7.673 6.375 7.5 6.375ZM5.375 4.125C5.099 4.125 4.875 4.377 4.875 4.688C4.875 4.998 5.099 5.25 5.375 5.25H6.688C6.439 4.736 6.011 4.125 5.375 4.125Z" |
|
23
|
fill="white" |
|
24
|
/> |
|
25
|
<path |
|
26
|
d="M9.625 6.375H7.5C7.328 6.375 7.164 6.296 7.058 6.16C6.95 6.023 6.913 5.846 6.953 5.678C6.98 5.569 7.634 3 9.625 3C10.521 3 11.25 3.757 11.25 4.688C11.25 5.618 10.521 6.375 9.625 6.375ZM8.312 5.25H9.625C9.901 5.25 10.125 4.998 10.125 4.688C10.125 4.377 9.901 4.125 9.625 4.125C8.99 4.125 8.561 4.736 8.312 5.25Z" |
|
27
|
fill="white" |
|
28
|
/> |
|
29
|
<path |
|
30
|
d="M11.438 6.375H3.562C3.252 6.375 3 6.123 3 5.813C3 5.502 3.252 5.25 3.562 5.25H11.438C11.748 5.25 12 5.502 12 5.813C12 6.123 11.748 6.375 11.438 6.375Z" |
|
31
|
fill="white" |
|
32
|
/> |
|
33
|
<path |
|
34
|
d="M6.938 7.5H3.75V9.563C3.75 10.7 4.675 11.625 5.813 11.625H6.938V7.5Z" |
|
35
|
fill="white" |
|
36
|
/> |
|
37
|
<path |
|
38
|
d="M8.063 7.5V11.625H9.188C10.325 11.625 11.25 10.7 11.25 9.563V7.5H8.063Z" |
|
39
|
fill="white" |
|
40
|
/> |
|
41
|
</g> |
|
42
|
<defs> |
|
43
|
<linearGradient |
|
44
|
id="paint0_linear_28788_25808" |
|
45
|
x1="7.5" |
|
46
|
y1="0" |
|
47
|
x2="7.5" |
|
48
|
y2="15" |
|
49
|
gradientUnits="userSpaceOnUse" |
|
50
|
> |
|
51
|
<stop stopColor="white" /> |
|
52
|
<stop offset="1" stopColor="white" stopOpacity="0" /> |
|
53
|
</linearGradient> |
|
54
|
<clipPath id="clip0_28788_25808"> |
|
55
|
<rect width="9" height="9" fill="white" transform="translate(3 3)" /> |
|
56
|
</clipPath> |
|
57
|
</defs> |
|
58
|
</svg> |
|
59
|
); |
|
60
|
}; |
|
61
|
|
|
62
|
export default GiftCardIcon; |