// 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 SvgDiscountPercentBag = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 16 18"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M6 13.3333L10 9.33334M6.16667 9.66667L6.33333 9.50001L6.5 9.66667L6.33333 9.83334L6.16667 9.66667ZM9.5 13L9.66667 12.8333L9.83333 13L9.66667 13.1667L9.5 13ZM2 10L6 5.33334L4 1.66667H12L10 5.33334L14 10V13C14 14.8409 12.5076 16.3333 10.6667 16.3333H5.33333C3.49239 16.3333 2 14.8409 2 13V10Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
