import React, { VFC } from "react";
import type { IconProps } from "./types";
export const PlusIcon: VFC<IconProps> = ({
size = 24,
color = "currentColor",
}) => {
const sizeProps = {
width: size,
height: size,
viewBox: "0 0 24 24",
};
return (
<div
aria-label={"plus"}
aria-roledescription={"icon"}
style={{ width: sizeProps.width, height: sizeProps.height }}
>
<svg {...sizeProps} fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M12 4C11.4477 4 11 4.44772 11 5V11H5C4.44772 11 4 11.4477 4 12C4 12.5523 4.44772 13 5 13H11V19C11 19.5523 11.4477 20 12 20C12.5523 20 13 19.5523 13 19V13H19C19.5523 13 20 12.5523 20 12C20 11.4477 19.5523 11 19 11H13V5C13 4.44772 12.5523 4 12 4Z"
fill={color}
/>
</svg>
</div>
);
};