2022-08-28 20:12:09 +02:00
|
|
|
import * as React from "react";
|
|
|
|
import Svg, { SvgProps, Path } from "react-native-svg";
|
|
|
|
import { IconoirContext } from "./IconoirContext";
|
2021-06-09 09:53:55 +02:00
|
|
|
|
|
|
|
function SvgHeart(
|
2022-08-28 20:12:09 +02:00
|
|
|
passedProps: SvgProps,
|
2021-06-09 09:53:55 +02:00
|
|
|
svgRef?: React.Ref<React.Component<SvgProps>>
|
|
|
|
) {
|
2022-08-28 20:12:09 +02:00
|
|
|
const context = React.useContext(IconoirContext);
|
|
|
|
const props = { ...context, ...passedProps };
|
2021-06-09 09:53:55 +02:00
|
|
|
return (
|
|
|
|
<Svg
|
|
|
|
width="1.5em"
|
|
|
|
height="1.5em"
|
|
|
|
strokeWidth={1.5}
|
|
|
|
viewBox="0 0 24 24"
|
|
|
|
fill="none"
|
|
|
|
color="currentColor"
|
|
|
|
ref={svgRef}
|
|
|
|
{...props}
|
|
|
|
>
|
|
|
|
<Path
|
|
|
|
d="M22 8.862a5.95 5.95 0 01-1.654 4.13c-2.441 2.531-4.809 5.17-7.34 7.608-.581.55-1.502.53-2.057-.045l-7.295-7.562c-2.205-2.286-2.205-5.976 0-8.261a5.58 5.58 0 018.08 0l.266.274.265-.274A5.612 5.612 0 0116.305 3c1.52 0 2.973.624 4.04 1.732A5.95 5.95 0 0122 8.862z"
|
|
|
|
stroke="currentColor"
|
|
|
|
strokeLinejoin="round"
|
|
|
|
/>
|
|
|
|
</Svg>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
const ForwardRef = React.forwardRef(SvgHeart);
|
|
|
|
export default ForwardRef;
|