// 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 SvgDatabaseAlert = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 17 18"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M13.6665 3.66673C13.6665 4.7713 10.9802 5.66673 7.6665 5.66673C4.3528 5.66673 1.6665 4.7713 1.6665 3.66673M13.6665 3.66673C13.6665 2.56216 10.9802 1.66673 7.6665 1.66673C4.3528 1.66673 1.6665 2.56216 1.6665 3.66673M13.6665 3.66673V7.66673M1.6665 3.66673V10.6667C1.6665 11.7713 4.3528 12.6667 7.6665 12.6667C7.88944 12.6667 8.10957 12.6627 8.32617 12.6548M1.6665 7.00006C1.6665 8.1046 4.3528 9.00006 7.6665 9.00006C8.62164 9.00006 9.52464 8.92566 10.3262 8.79333M8.94744 16.3333H15.6141L12.2808 10.3333L8.94744 16.3333Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
