// 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 SvgRejectCall = ({
  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="M9.99488 6.32589L14.9874 1.33337M9.99488 1.33337L14.9874 6.32589M2.84729 9.08504C1.96865 7.53651 1.48147 5.82611 1.38574 4.09805L4.43822 3.73234L5.51298 7.49397L2.84729 9.08504ZM2.84729 9.08504C3.34274 9.95824 3.96265 10.78 4.70704 11.5244C5.45142 12.2687 6.27314 12.8886 7.14634 13.3841M7.14634 13.3841C8.69488 14.2627 10.4053 14.7499 12.1333 14.8456L12.499 11.793L8.73734 10.7182L7.14634 13.3841Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
