iconoir/packages/iconoir-react-native/src/3DArc.tsx

41 lines
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 Svg3DArc = (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="M22 16c0-5.523-4.477-10-10-10S2 10.477 2 16"
/>
<Path
fill="currentColor"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
d="M2 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM22 17a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"
/>
</Svg>
);
};
const ForwardRef = forwardRef(Svg3DArc);
export default ForwardRef;