// 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 SvgShoppingBasket = ({
  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="M5.99998 9.33334V12M9.99998 9.33334V12M3.33331 6.66668V4.00001C3.33331 3.26363 3.93027 2.66668 4.66665 2.66668H5.99998M12.6666 6.66668V4.00001C12.6666 3.26363 12.0697 2.66668 11.3333 2.66668H9.99998M2.99998 14.6667L1.33331 6.66668H14.6666L13 14.6667H2.99998ZM5.99998 4.00001V1.33334H9.99998V4.00001H5.99998Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
