// 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 SvgDatabaseSetting = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 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.6667M1.6665 7.00006C1.6665 8.1046 4.3528 9.00006 7.6665 9.00006C8.24224 9.00006 8.7991 8.973 9.32617 8.92253M12.9461 12.2717V13.605M14.0813 10.5074L13.685 9.66047H12.205L11.8089 10.5081L11.3674 10.7631L10.4352 10.6828L9.69517 11.9645L10.2314 12.7319V13.2409L9.69544 14.0084L10.4354 15.2901L11.3678 15.2093L11.809 15.464L12.205 16.3117H13.685L14.0815 15.4646L14.5238 15.2093L15.4552 15.2901L16.1952 14.0084L15.6602 13.2419L15.6601 12.7304L16.1956 11.9645L15.4556 10.6828L14.5239 10.7629L14.0813 10.5074Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
