|
1
|
import * as React from "react" |
|
2
|
import type { IconProps } from "../types" |
|
3
|
const PencilSquare = 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 |
|
16
|
stroke={color} |
|
17
|
strokeLinecap="round" |
|
18
|
strokeLinejoin="round" |
|
19
|
strokeWidth={1.5} |
|
20
|
clipPath="url(#a)" |
|
21
|
> |
|
22
|
<path d="M2.833 13.056s3.2-.505 4.041-1.347l6.513-6.513a1.904 1.904 0 1 0-2.693-2.693L4.18 9.016c-.842.841-1.347 4.04-1.347 4.04zM6.833 1.944H1.056M3.278 5.056H1.056" /> |
|
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
|
PencilSquare.displayName = "PencilSquare" |
|
34
|
export default PencilSquare |