|
1
|
import * as React from "react" |
|
2
|
import type { IconProps } from "../types" |
|
3
|
const Swatch = 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="M1.793 13.207A2.7 2.7 0 0 0 3.708 14m-1.915-.793A2.7 2.7 0 0 0 3.708 14m-1.915-.793A2.7 2.7 0 0 1 1 11.29V1.812C1 1.364 1.364 1 1.813 1h3.791c.449 0 .813.364.813.812v2.941M3.708 14a2.7 2.7 0 0 0 1.916-.793M3.708 14a2.7 2.7 0 0 0 1.916-.793M3.708 14h9.48a.813.813 0 0 0 .812-.813V9.396a.813.813 0 0 0-.812-.813h-2.941m-4.623 4.624 4.623-4.624m-4.623 4.624a2.7 2.7 0 0 0 .793-1.916V4.753m3.83 3.83 2.079-2.08a.81.81 0 0 0 0-1.148L9.645 2.673a.81.81 0 0 0-1.148 0l-2.08 2.08m-2.709 6.538h.006v.006h-.006z" |
|
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
|
Swatch.displayName = "Swatch" |
|
34
|
export default Swatch |