// 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 SvgOrderHistory = ({
  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="M10.346 15H16.3334V4.99999L13 1.66666H4.33335V7.66666M5.00002 11.3333V13H6.66669M8.33335 13C8.33335 14.8409 6.84097 16.3333 5.00002 16.3333C3.15907 16.3333 1.66669 14.8409 1.66669 13C1.66669 11.1591 3.15907 9.66666 5.00002 9.66666C6.84097 9.66666 8.33335 11.1591 8.33335 13Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
