// 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 SvgDatabase = ({
  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="M14.6668 3.66667C14.6668 4.95534 11.682 6 8.00016 6C4.31826 6 1.3335 4.95534 1.3335 3.66667M14.6668 3.66667C14.6668 2.378 11.682 1.33334 8.00016 1.33334C4.31826 1.33334 1.3335 2.378 1.3335 3.66667M14.6668 3.66667V12C14.6668 13.2887 11.682 14.3333 8.00016 14.3333C4.31826 14.3333 1.3335 13.2887 1.3335 12V3.66667M14.6668 7.66667C14.6668 8.95534 11.682 10 8.00016 10C4.31826 10 1.3335 8.95534 1.3335 7.66667"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
