iconoir/packages/iconoir-react/src/Divide.tsx
2022-11-01 19:33:24 +00:00

40 lines
945 B
TypeScript

import * as React from "react";
import { IconoirContext } from "./IconoirContext";
function SvgDivide(
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="M12 21v-9a5 5 0 00-5-5H3M12 21v-9a5 5 0 015-5h4"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
/>
<path
d="M7 3L3 7l4 4M17 3l4 4-4 4"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
/>
</svg>
);
}
const ForwardRef = React.forwardRef(SvgDivide);
export default ForwardRef;