mirror of
https://github.com/iconoir-icons/iconoir
synced 2024-06-15 20:25:06 +02:00
39 lines
929 B
TypeScript
39 lines
929 B
TypeScript
|
import * as React from "react";
|
||
|
import Svg, { SvgProps, Path } from "react-native-svg";
|
||
|
import { IconoirContext } from "./IconoirContext";
|
||
|
function SvgAlignVerticalCenters(
|
||
|
passedProps: SvgProps,
|
||
|
svgRef?: React.Ref<React.Component<SvgProps>>
|
||
|
) {
|
||
|
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"
|
||
|
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;
|