// 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 SvgCarRentals = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 17"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M12.6665 3.33333L14.3332 1.66671H16.3332V5.00006H14.3332L12.6665 3.33333ZM12.6665 3.33333L8.6665 3.33333V1.00004M10.6665 3.33333V1M10.9998 15V17M2.99984 15V17M1.6665 11.3333H12.3332V15H1.6665V11.3333ZM10.3332 7.66667L10.9998 11.3333H2.99984L3.6665 7.66667H10.3332Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
