// 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 SvgShipmentTime = ({
  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="M8.00001 8.16667V9.66667H9.50001M8.00001 1.35742V4.69075M1.33334 4.66667H14.6667M11 9.66667C11 11.3235 9.65688 12.6667 8.00001 12.6667C6.34316 12.6667 5.00001 11.3235 5.00001 9.66667C5.00001 8.0098 6.34316 6.66667 8.00001 6.66667C9.65688 6.66667 11 8.0098 11 9.66667ZM1.33334 14.6907V3.92948L3.66668 1.35742H12.3333L14.6667 3.92948V14.6907H1.33334Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
