// 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 SvgDiscountPercentCircle = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 18"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M5.99999 12L12 6.00001M1.66666 9.00001C1.66666 10.9449 2.43927 12.8102 3.81454 14.1855C5.18981 15.5607 7.05507 16.3333 8.99999 16.3333C10.9449 16.3333 12.8102 15.5607 14.1854 14.1855C15.5607 12.8102 16.3333 10.9449 16.3333 9.00001C16.3333 7.05508 15.5607 5.18982 14.1854 3.81456C12.8102 2.43929 10.9449 1.66667 8.99999 1.66667C7.05507 1.66667 5.18981 2.43929 3.81454 3.81456C2.43927 5.18982 1.66666 7.05508 1.66666 9.00001ZM6.49999 6.83334L6.83332 6.50001L7.16666 6.83334L6.83332 7.16667L6.49999 6.83334ZM10.8333 11.1667L11.1667 10.8333L11.5 11.1667L11.1667 11.5L10.8333 11.1667Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
