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

34 lines
846 B
TypeScript

import * as React from "react";
import { IconoirContext } from "./IconoirContext";
function SvgVerticalSplit(
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 14v8m0 0l3.5-3.5M12 22l-3.5-3.5M12 10V2m0 0l3.5 3.5M12 2L8.5 5.5M3 14h18M3 10h18"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
/>
</svg>
);
}
const ForwardRef = React.forwardRef(SvgVerticalSplit);
export default ForwardRef;