// 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 SvgDesktopTime = ({
  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="M12.9998 3.33334V5H14.6665M7.33317 4.33334H1.6665V13.6667H14.9998V10.3333M8.33317 13.6667V16.3333M4.99984 16.3333H11.6665M16.3332 5C16.3332 6.84095 14.8408 8.33334 12.9998 8.33334C11.1589 8.33334 9.6665 6.84095 9.6665 5C9.6665 3.15906 11.1589 1.66667 12.9998 1.66667C14.8408 1.66667 16.3332 3.15906 16.3332 5Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
