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";
|
2022-04-02 11:26:09 +02:00
|
|
|
|
|
|
|
function SvgErase(
|
2022-08-28 20:12:09 +02:00
|
|
|
passedProps: SvgProps,
|
2022-04-02 11:26:09 +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 };
|
2022-04-02 11:26:09 +02:00
|
|
|
return (
|
|
|
|
<Svg
|
|
|
|
width="1.5em"
|
|
|
|
height="1.5em"
|
|
|
|
viewBox="0 0 24 24"
|
|
|
|
strokeWidth={1.5}
|
|
|
|
fill="none"
|
|
|
|
color="currentColor"
|
|
|
|
ref={svgRef}
|
|
|
|
{...props}
|
|
|
|
>
|
|
|
|
<Path
|
|
|
|
d="M21 21H9M15.889 14.89L8.464 7.463M2.893 12.607l9.193-9.193a2 2 0 012.828 0l4.95 4.95a2 2 0 010 2.828l-9.243 9.243a1.929 1.929 0 01-2.728 0l-5-5a2 2 0 010-2.828z"
|
|
|
|
stroke="currentColor"
|
|
|
|
strokeLinecap="round"
|
|
|
|
strokeLinejoin="round"
|
|
|
|
/>
|
|
|
|
</Svg>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
const ForwardRef = React.forwardRef(SvgErase);
|
|
|
|
export default ForwardRef;
|