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

export const IconExclamationWarningTriangleSolid = 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-exclamation-warning-triangle-solid`,
  };
  return (
    <svg
      viewBox="0 0 20 20"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
      ref={forwardedRef}
    >
      <path
        d="M10 1.9834L0.75 18.0167H19.25L10 1.9834ZM9.25 8.00006V13.0001H10.75V8.00006H9.25ZM9.25 14.5001V16.0001H10.75V14.5001H9.25Z"
        fill={color}
        fillRule="evenodd"
        clipRule="evenodd"
      />
    </svg>
  );
});

IconExclamationWarningTriangleSolid.displayName =
  "IconExclamationWarningTriangleSolid";

export default IconExclamationWarningTriangleSolid;
