// 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 SvgShoppingCartPercent = ({
  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="M6.28127 9.21908L10.0524 5.4476M6.28127 6.39047L7.22409 5.44766M9.11002 9.21894L10.0529 8.27614M3.66669 3.33334V11.3333H11.6667L14.3334 3.33334H3.66669ZM3.66669 3.33334V1.33334H0.666687M3.66669 14.6666V14.1663H4.16697V14.6666H3.66669ZM7.66669 14.6666V14.1663H8.16695V14.6666H7.66669Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
