// 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 SvgDrone = ({
  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="M0.666504 1.33333H6.6665M9.33317 1.33333H15.3332M11.9998 7.99999C11.9998 10.2091 10.209 12 7.99984 12C5.7907 12 3.99984 10.2091 3.99984 7.99999M1.99984 15.3333V12.3333L4.46468 9.8724M3.6665 1.33333V4.66666M12.3332 1.33333V4.66666M13.9998 15.3333V12.3333L11.535 9.8724M1.33317 4.66666H14.6665V7.99999H1.33317V4.66666Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
