|
1
|
import * as React from "react" |
|
2
|
import type { IconProps } from "../types" |
|
3
|
const Button = 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
|
<path |
|
16
|
stroke={color} |
|
17
|
strokeLinecap="round" |
|
18
|
strokeLinejoin="round" |
|
19
|
strokeWidth={1.5} |
|
20
|
d="M13.542 7.43V4.793c0-.92-.746-1.667-1.667-1.667h-8.75c-.92 0-1.667.747-1.667 1.667v2.916c0 .92.746 1.667 1.667 1.667h3.067" |
|
21
|
/> |
|
22
|
<path |
|
23
|
stroke={color} |
|
24
|
strokeLinecap="round" |
|
25
|
strokeLinejoin="round" |
|
26
|
strokeWidth={1.5} |
|
27
|
d="m8.278 7.726 5.712 2.087a.27.27 0 0 1-.01.509l-2.614.836-.837 2.615a.27.27 0 0 1-.509.01L7.933 8.07a.27.27 0 0 1 .345-.345" |
|
28
|
/> |
|
29
|
</svg> |
|
30
|
) |
|
31
|
} |
|
32
|
) |
|
33
|
Button.displayName = "Button" |
|
34
|
export default Button |