mirror of
https://github.com/iconoir-icons/iconoir
synced 2024-06-11 18:32:37 +02:00
34 lines
846 B
TypeScript
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;
|