// 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 SvgDatabaseRefresh = ({
  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="M10.1948 12.0836C10.3416 11.7075 10.5656 11.3619 10.8566 11.0709C11.4096 10.5179 12.1595 10.2073 12.9415 10.2073C13.7235 10.2073 14.4735 10.5179 15.0264 11.0709C15.3174 11.3619 15.5414 11.7075 15.6882 12.0836L15.8574 12.4907M13.545 12.4821H16.3395V9.68747M12.4541 14.0319H9.6595V16.8265M15.8089 14.4391C15.6621 14.8152 15.4382 15.1608 15.1472 15.4518C14.5942 16.0047 13.8442 16.3154 13.0622 16.3154C12.2802 16.3154 11.5302 16.0047 10.9773 15.4518C10.6863 15.1608 10.4624 14.8152 10.3156 14.4391L10.1464 14.0319M13.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.36517 9.00006 9.0359 8.96026 9.6595 8.88706"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
