// eslint-disable-next-line @typescript-eslint/ban-ts-comment
//@ts-nocheck
import type { VariantProps } from 'class-variance-authority'
import * as React from 'react'
import type { SVGProps } from 'react'
import { iconVariants } from '../../iconVariants'

type Color = VariantProps<typeof iconVariants>['color'] | undefined

export const SvgCompareArrow = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 16 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M14.6666 9.33331H10.3333M10.3333 9.33331L12.3333 7.33331M10.3333 9.33331L12.3333 11.3333M1.33325 6.66665H5.66659M5.66659 6.66665L3.66658 4.66665M5.66659 6.66665L3.66658 8.66665M1.33325 1.33331H7.99992V12H1.33325V1.33331ZM7.99992 3.99998H14.6666V14.6666H7.99992V3.99998Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
