import * as React from "react";
import type { IconProps, IconMetadata, IconComponent } from "../../types";

export const Vitest: IconComponent = React.forwardRef<SVGSVGElement, IconProps>(
  function Vitest(
    {
      color = "currentColor",
      fill,
      size = 24,
      strokeWidth,
      strokeLinecap,
      strokeLinejoin,
      strokeDasharray,
      opacity,
      className,
      ...props
    },
    forwardedRef,
  ) {
    return (
      <svg
        width={size}
        height={size}
        viewBox="0 0 24 24"
        fill="none"
        xmlns="http://www.w3.org/2000/svg"
        className={className}
        strokeWidth={strokeWidth}
        strokeLinecap={strokeLinecap}
        strokeLinejoin={strokeLinejoin}
        strokeDasharray={strokeDasharray}
        opacity={opacity}
        {...props}
        ref={forwardedRef}
      >
        <g clipPath="url(#undefined-clip0_2066_411)">
          <path
            d="M18.0108 7.65716L12.2733 15.9765C12.2123 16.0649 12.1244 16.1309 12.0227 16.1648C11.9209 16.1986 11.811 16.1985 11.7093 16.1643C11.6079 16.1302 11.5204 16.0638 11.4599 15.9753C11.3997 15.8869 11.3699 15.7811 11.3753 15.6742L11.605 11.0811L7.8978 10.2926C7.81866 10.2758 7.74486 10.2397 7.68292 10.1875C7.62115 10.1355 7.57317 10.0689 7.54323 9.99379C7.5133 9.91865 7.50235 9.83725 7.51136 9.75684C7.52049 9.67637 7.54931 9.59941 7.59527 9.5328L13.333 1.21342C13.394 1.12512 13.482 1.05909 13.5837 1.02525C13.6855 0.991411 13.7954 0.991588 13.897 1.02576C13.9984 1.05986 14.0859 1.12621 14.1463 1.21473C14.2066 1.3033 14.2363 1.40897 14.231 1.51587L14.0013 6.10907L17.7084 6.8975C17.7875 6.9143 17.8613 6.95036 17.9233 7.00252C17.9852 7.05453 18.0332 7.12109 18.0631 7.19627C18.0931 7.27144 18.1039 7.35288 18.0948 7.43331C18.0857 7.51377 18.0568 7.59062 18.0108 7.65716Z"
            fill="#fcc72b"
          />
          <path
            d="M12.0024 22.9565C11.8498 22.9567 11.6987 22.9267 11.5577 22.8681C11.4167 22.8095 11.2887 22.7236 11.1809 22.6152L5.75953 17.1789C5.54259 16.9602 5.42098 16.6642 5.42139 16.3558C5.42179 16.0473 5.54417 15.7517 5.76168 15.5336C5.97918 15.3156 6.274 15.1929 6.58153 15.1925C6.88906 15.192 7.18421 15.3139 7.40231 15.5313L12.0024 20.1439L22.0236 10.0946C22.2414 9.87614 22.5369 9.75341 22.845 9.75342C23.1531 9.75343 23.4485 9.87617 23.6664 10.0947C23.8842 10.3131 24.0066 10.6094 24.0066 10.9184C24.0066 11.2274 23.8842 11.5237 23.6663 11.7422L12.8237 22.6152C12.716 22.7236 12.588 22.8096 12.447 22.8681C12.3061 22.9267 12.155 22.9567 12.0024 22.9565Z"
            fill="#729b1b"
          />
          <path
            d="M11.9976 22.9565C12.1502 22.9567 12.3014 22.9267 12.4424 22.8681C12.5833 22.8095 12.7114 22.7236 12.8192 22.6152L18.2405 17.1789C18.4574 16.9603 18.579 16.6643 18.5785 16.3559C18.578 16.0474 18.4557 15.7518 18.2382 15.5337C18.0207 15.3156 17.7259 15.1928 17.4184 15.1923C17.1108 15.192 16.8157 15.3139 16.5976 15.5313L11.9976 20.1439L1.97641 10.0946C1.75779 9.87985 1.46349 9.76027 1.15746 9.76186C0.851427 9.76344 0.558379 9.88606 0.341978 10.1031C0.125577 10.3201 0.00330469 10.614 0.00172449 10.9209C0.000144291 11.2278 0.119384 11.5229 0.333538 11.7422L11.1763 22.6152C11.284 22.7236 11.412 22.8095 11.5529 22.8681C11.6939 22.9267 11.8451 22.9567 11.9976 22.9565Z"
            fill="#729b1b"
            fillOpacity=".5"
          />
        </g>
        <defs>
          <clipPath id="undefined-clip0_2066_411">
            <path fill="#fff" transform="translate(0 1)" d="M0 0H24V22H0z" />
          </clipPath>
        </defs>
      </svg>
    );
  },
);

Vitest.displayName = "Vitest";

Vitest.metadata = {
  name: "Vitest",
  category: "icon/framework",
  tags: ["vitest", "icon"],
  description: "Vitest icon from icon/framework category",
  type: ["stroke", "icon"],
} as IconMetadata;

export default Vitest;
