// 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 SvgTransferTruckTime = ({
  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.6466 15H12V12.6667L10.3334 10.3334H8.00002V7.66669H1.66669V15H3.00002M3.00002 15C3.00002 15.3536 3.1405 15.6928 3.39054 15.9428C3.64059 16.1929 3.97973 16.3334 4.33335 16.3334C4.68698 16.3334 5.02611 16.1929 5.27616 15.9428C5.52621 15.6928 5.66669 15.3536 5.66669 15M3.00002 15C3.00002 14.6464 3.1405 14.3073 3.39054 14.0572C3.64059 13.8072 3.97973 13.6667 4.33335 13.6667C4.68698 13.6667 5.02611 13.8072 5.27616 14.0572C5.52621 14.3073 5.66669 14.6464 5.66669 15M8.00002 15H5.66669M8.00002 15C8.00002 15.3536 8.1405 15.6928 8.39054 15.9428C8.64059 16.1929 8.97973 16.3334 9.33335 16.3334C9.68698 16.3334 10.0261 16.1929 10.2762 15.9428C10.5262 15.6928 10.6667 15.3536 10.6667 15C10.6667 14.6464 10.5262 14.3073 10.2762 14.0572C10.0261 13.8072 9.68698 13.6667 9.33335 13.6667C8.97973 13.6667 8.64059 13.8072 8.39054 14.0572C8.1405 14.3073 8.00002 14.6464 8.00002 15ZM13 3.33335V5.00002H14.6667M16.3334 5.00002C16.3334 6.84097 14.841 8.33335 13 8.33335C11.1591 8.33335 9.66669 6.84097 9.66669 5.00002C9.66669 3.15907 11.1591 1.66669 13 1.66669C14.841 1.66669 16.3334 3.15907 16.3334 5.00002Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
