|
1
|
import * as React from "react" |
|
2
|
import type { IconProps } from "../types" |
|
3
|
const FeaturedBadge = React.forwardRef<SVGSVGElement, IconProps>( |
|
4
|
({ color = "currentColor", ...props }, ref) => { |
|
5
|
return ( |
|
6
|
<svg |
|
7
|
xmlns="http://www.w3.org/2000/svg" |
|
8
|
width={15} |
|
9
|
height={15} |
|
10
|
viewBox="0 0 15 15" |
|
11
|
fill="none" |
|
12
|
ref={ref} |
|
13
|
{...props} |
|
14
|
> |
|
15
|
<circle cx={7.5} cy={7.5} r={7.5} fill="#2563EB" /> |
|
16
|
<circle cx={7.5} cy={7.5} r={7.5} fill="url(#a)" fillOpacity={0.2} /> |
|
17
|
<circle |
|
18
|
cx={7.5} |
|
19
|
cy={7.5} |
|
20
|
r={7.25} |
|
21
|
stroke={color} |
|
22
|
strokeOpacity={0.24} |
|
23
|
strokeWidth={0.5} |
|
24
|
/> |
|
25
|
<g clipPath="url(#b)"> |
|
26
|
<path |
|
27
|
fill="#fff" |
|
28
|
d="M11.924 6.27a.42.42 0 0 0-.336-.283L9.02 5.614 7.873 3.288c-.14-.285-.607-.285-.747 0L5.978 5.613l-2.566.373a.417.417 0 0 0-.23.71l1.856 1.81-.439 2.557a.417.417 0 0 0 .605.44l2.295-1.208 2.296 1.207a.41.41 0 0 0 .439-.032.42.42 0 0 0 .165-.407l-.438-2.556 1.857-1.81a.42.42 0 0 0 .105-.428z" |
|
29
|
/> |
|
30
|
</g> |
|
31
|
<defs> |
|
32
|
<linearGradient |
|
33
|
id="a" |
|
34
|
x1={7.5} |
|
35
|
x2={7.5} |
|
36
|
y1={0} |
|
37
|
y2={15} |
|
38
|
gradientUnits="userSpaceOnUse" |
|
39
|
> |
|
40
|
<stop stopColor="#fff" /> |
|
41
|
<stop offset={1} stopColor="#fff" stopOpacity={0} /> |
|
42
|
</linearGradient> |
|
43
|
<clipPath id="b"> |
|
44
|
<path fill="#fff" d="M2.5 2.5h10v10h-10z" /> |
|
45
|
</clipPath> |
|
46
|
</defs> |
|
47
|
</svg> |
|
48
|
) |
|
49
|
} |
|
50
|
) |
|
51
|
FeaturedBadge.displayName = "FeaturedBadge" |
|
52
|
export default FeaturedBadge |