iconoir/packages/iconoir-react/src/Fillet3D.tsx
2023-03-04 14:55:31 +00:00

42 lines
1,004 B
TypeScript

import * as React from "react";
import { IconoirContext } from "./IconoirContext";
function SvgFillet3D(
passedProps: React.SVGProps<SVGSVGElement>,
svgRef?: React.Ref<SVGSVGElement>
) {
const context = React.useContext(IconoirContext);
const props = {
...context,
...passedProps,
};
return (
<svg
width="1.5em"
height="1.5em"
viewBox="0 0 24 24"
strokeWidth={1.5}
fill="none"
xmlns="http://www.w3.org/2000/svg"
color="currentColor"
ref={svgRef}
{...props}
>
<path
d="M2 20v-4C2 8.268 8.268 2 16 2h4M20.839 20.84h-3.536m3.536 0v-3.537m0 3.536L18 18"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
/>
<path
d="M9 9l7 7"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeDasharray="2 3"
/>
</svg>
);
}
const ForwardRef = React.forwardRef(SvgFillet3D);
export default ForwardRef;