iconoir/packages/iconoir-react-native/src/Hd.tsx
2023-01-11 18:09:27 +00:00

35 lines
819 B
TypeScript

import * as React from "react";
import Svg, { SvgProps, Path } from "react-native-svg";
import { IconoirContext } from "./IconoirContext";
function SvgHd(
passedProps: SvgProps,
svgRef?: React.Ref<React.Component<SvgProps>>
) {
const context = React.useContext(IconoirContext);
const props = {
...context,
...passedProps,
};
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="M3 7v5m0 5v-5m0 0h7m0 0V7m0 5v5M13 12V7c4 0 8 0 8 5s-4 5-8 5v-5z"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
/>
</Svg>
);
}
const ForwardRef = React.forwardRef(SvgHd);
export default ForwardRef;