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

export const PlanetScale: IconComponent = React.forwardRef<
  SVGSVGElement,
  IconProps
>(function PlanetScale(
  {
    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_2062_3086)">
        <path
          d="M23.9999 12C23.9999 15.1826 22.7356 18.2348 20.4852 20.4853C18.2347 22.7357 15.1825 24 11.9999 24L23.9999 12ZM11.9999 0C16.8749 0 21.0655 2.90625 22.9499 7.07812L7.07803 22.95C6.39365 22.6406 5.74678 22.275 5.1374 21.8531L14.9999 12H11.9999L3.51553 20.4844C1.83766 18.8062 0.695065 16.6681 0.232192 14.3406C-0.230681 12.0131 0.00695619 9.60053 0.915058 7.40804C1.82316 5.21555 3.36095 3.34154 5.33401 2.02294C7.30706 0.70434 9.62679 0.000358442 11.9999 0Z"
          fill="currentColor"
        />
      </g>
      <defs>
        <clipPath id="undefined-clip0_2062_3086">
          <path fill="#fff" d="M0 0H24V24H0z" />
        </clipPath>
      </defs>
    </svg>
  );
});

PlanetScale.displayName = "PlanetScale";

PlanetScale.metadata = {
  name: "PlanetScale",
  category: "icon/database",
  tags: ["planet", "scale", "icon"],
  description: "PlanetScale icon from icon/database category",
  type: ["stroke", "icon"],
} as IconMetadata;

export default PlanetScale;
