// 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 SvgAddCall = ({
  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="M2.84729 8.86479C1.96865 7.31625 1.48147 5.60583 1.38574 3.87778L4.43822 3.51207L5.51298 7.27372L2.84729 8.86479ZM2.84729 8.86479C3.34274 9.73799 3.96265 10.5597 4.70704 11.3041C5.45142 12.0485 6.27314 12.6684 7.14634 13.1639M7.14634 13.1639C8.69488 14.0425 10.4053 14.5297 12.1333 14.6254L12.499 11.5728L8.73734 10.498L7.14634 13.1639ZM8.37281 2.61067H14.3872M14.3872 2.61067L12.4988 0.722473M14.3872 2.61067L12.4988 4.49885M14.498 6.41657H8.49068M10.3668 4.53347L8.48374 6.41657L10.3668 8.29965"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
