// 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 SvgProductSelection = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 16 17"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M6.00001 0V1.33333M6.00001 1.33333L8.00001 3.33333L10 1.33333M6.00001 1.33333L3.33334 3.33333L4.66668 6M10 1.33333V0M10 1.33333L12.6667 3.33333L11.3333 6M4.41342 9.48527L8.00001 7.33333L11.5866 9.48527M4.41342 9.48527V13.0719L8.00001 15.2239M4.41342 9.48527L8.00001 11.6373M11.5866 9.48527V13.0719L8.00001 15.2239M11.5866 9.48527L8.00001 11.6373M8.00001 15.2239V11.6373"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
