iconoir/packages/iconoir-react-native/src/Droplet.tsx

33 lines
755 B
TypeScript
Raw Normal View History

import * as React from "react";
import Svg, { SvgProps, Path } from "react-native-svg";
import { IconoirContext } from "./IconoirContext";
function SvgDroplet(
passedProps: SvgProps,
svgRef?: React.Ref<React.Component<SvgProps>>
) {
const context = React.useContext(IconoirContext);
2023-01-11 19:09:27 +01:00
const props = {
...context,
...passedProps,
};
return (
<Svg
width="1.5em"
height="1.5em"
viewBox="0 0 24 24"
2023-02-06 20:20:59 +01:00
strokeWidth={1.5}
fill="none"
color="currentColor"
ref={svgRef}
{...props}
>
<Path
2023-02-06 20:20:59 +01:00
d="M20 14c0-4.418-8-12-8-12S4 9.582 4 14a8 8 0 1016 0z"
stroke="currentColor"
/>
</Svg>
);
}
const ForwardRef = React.forwardRef(SvgDroplet);
export default ForwardRef;