// 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 SvgHangUp = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M6.16269 5.89983C4.56079 6.34195 3.1104 7.14927 1.90674 8.2266L3.68028 10.4826L6.87224 8.70927L6.16269 5.89983ZM6.16269 5.89983C7.06598 5.65052 8.01746 5.51733 9 5.51733C9.98253 5.51733 10.934 5.65052 11.8373 5.89983M11.8373 5.89983C13.4392 6.34195 14.8896 7.14927 16.0933 8.2266L14.3202 10.4826L11.1283 8.70927L11.8373 5.89983Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
