mirror of
https://github.com/iconoir-icons/iconoir
synced 2024-06-20 06:35:20 +02:00
39 lines
923 B
TypeScript
39 lines
923 B
TypeScript
|
import * as React from "react";
|
||
|
import { IconoirContext } from "./IconoirContext";
|
||
|
function SvgAlignVerticalCenters(
|
||
|
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="M22 12H2"
|
||
|
stroke="currentColor"
|
||
|
strokeLinecap="round"
|
||
|
strokeLinejoin="round"
|
||
|
/>
|
||
|
<path
|
||
|
d="M8 19V5a2 2 0 012-2h4a2 2 0 012 2v14a2 2 0 01-2 2h-4a2 2 0 01-2-2z"
|
||
|
stroke="currentColor"
|
||
|
/>
|
||
|
</svg>
|
||
|
);
|
||
|
}
|
||
|
const ForwardRef = React.forwardRef(SvgAlignVerticalCenters);
|
||
|
export default ForwardRef;
|