// 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 SvgDatabaseUpload = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 17 17"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M10.6665 12.3333L13.3332 9.66666M13.3332 9.66666L15.9998 12.3333M13.3332 9.66666V17M13.6665 3.66666C13.6665 4.77123 10.9802 5.66666 7.6665 5.66666C4.3528 5.66666 1.6665 4.77123 1.6665 3.66666M13.6665 3.66666C13.6665 2.5621 10.9802 1.66666 7.6665 1.66666C4.3528 1.66666 1.6665 2.5621 1.6665 3.66666M13.6665 3.66666L13.6595 7M1.6665 3.66666V10.6667C1.6665 11.7713 4.3528 12.6667 7.6665 12.6667C8.12224 12.6667 8.56617 12.6497 8.99284 12.6177M1.6665 7C1.6665 8.1046 4.3528 9 7.6665 9C8.89324 9 10.034 8.87726 10.9843 8.66666"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
