|
1
|
import * as React from "react" |
|
2
|
import type { IconProps } from "../types" |
|
3
|
const Star = 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
|
<g clipPath="url(#a)"> |
|
16
|
<path |
|
17
|
stroke={color} |
|
18
|
strokeLinecap="round" |
|
19
|
strokeLinejoin="round" |
|
20
|
strokeWidth={1.5} |
|
21
|
d="M7.5 1.056 9.491 5.09l4.453.647-3.222 3.142.761 4.434L7.5 11.22l-3.983 2.093.76-4.434-3.221-3.142 4.453-.647z" |
|
22
|
/> |
|
23
|
</g> |
|
24
|
<defs> |
|
25
|
<clipPath id="a"> |
|
26
|
<path fill="#fff" d="M0 0h15v15H0z" /> |
|
27
|
</clipPath> |
|
28
|
</defs> |
|
29
|
</svg> |
|
30
|
) |
|
31
|
} |
|
32
|
) |
|
33
|
Star.displayName = "Star" |
|
34
|
export default Star |