mirror of
https://github.com/iconoir-icons/iconoir
synced 2024-05-20 15:26:41 +02:00
40 lines
1.1 KiB
TypeScript
40 lines
1.1 KiB
TypeScript
import * as React from "react";
|
|
import Svg, { Path } from "react-native-svg";
|
|
import type { SvgProps } from "react-native-svg";
|
|
import { Ref, forwardRef } from "react";
|
|
import { IconoirContext } from "./IconoirContext";
|
|
const SvgAddLens = (passedProps: SvgProps, ref: Ref<Svg>) => {
|
|
const context = React.useContext(IconoirContext);
|
|
const props = {
|
|
...context,
|
|
...passedProps,
|
|
};
|
|
return (
|
|
<Svg
|
|
width="1.5em"
|
|
height="1.5em"
|
|
fill="none"
|
|
strokeWidth={1.5}
|
|
viewBox="0 0 24 24"
|
|
color="currentColor"
|
|
ref={ref}
|
|
{...props}
|
|
>
|
|
<Path
|
|
stroke="currentColor"
|
|
strokeLinecap="round"
|
|
strokeLinejoin="round"
|
|
d="M2.992 6h3m3 0h-3m0 0V3m0 3v3M2.112 13.5C2.835 18.311 6.987 22 12 22c5.523 0 10-4.477 10-10 0-5.013-3.689-9.165-8.5-9.888"
|
|
/>
|
|
<Path
|
|
stroke="currentColor"
|
|
strokeLinecap="round"
|
|
strokeLinejoin="round"
|
|
d="M17.197 9c-.1-.172-.207-.34-.323-.5M17.811 13.5a6.01 6.01 0 0 1-4.311 4.311"
|
|
/>
|
|
</Svg>
|
|
);
|
|
};
|
|
const ForwardRef = forwardRef(SvgAddLens);
|
|
export default ForwardRef;
|