import { forwardRef } from "react";
import type { IconProps } from "../../types";

export const IconTypeInsertSolid = forwardRef<SVGSVGElement, IconProps>(
  ({ color = "currentColor", ...props }, forwardedRef) => {
    const { className } = props;
    props = {
      ...props,
      width: `${props.width || props.size || 20}`,
      height: `${props.height || props.size || 20}`,
      className: `${
        className ? className + " " : ""
      }customeow-shein-icon customeow-shein-icon-icon-type-insert-solid`,
    };
    return (
      <svg
        viewBox="0 0 20 20"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
        {...props}
        ref={forwardedRef}
      >
        <path
          d="M5 2C3.34315 2 2 3.34315 2 5V15C2 16.6569 3.34315 18 5 18H15C16.6569 18 18 16.6569 18 15V5C18 3.34315 16.6569 2 15 2H5ZM7 4C6.72386 4 6.5 4.22386 6.5 4.5V15.5C6.5 15.7761 6.72386 16 7 16H13C13.2761 16 13.5 15.7761 13.5 15.5V4.5C13.5 4.22386 13.2761 4 13 4H7Z"
          fill={color}
          fillRule="evenodd"
          clipRule="evenodd"
        />
      </svg>
    );
  }
);

IconTypeInsertSolid.displayName = "IconTypeInsertSolid";

export default IconTypeInsertSolid;
