// 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 SvgAutoCorrectionCheck = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M16.3334 6V5.37013C16.3334 4.98162 16.0185 4.66667 15.6299 4.66667H14.3702C13.9817 4.66667 13.6667 4.98162 13.6667 5.37013V7.9632C13.6667 8.35173 13.9817 8.66667 14.3702 8.66667H15.6299C16.0185 8.66667 16.3334 8.35173 16.3334 7.9632V7.33333M8.66675 4.72048V2M8.66675 4.72048H10.228M8.66675 4.72048V8.66667H10.6299C11.0185 8.66667 11.3334 8.35173 11.3334 7.9632V5.42394C11.3334 5.03543 11.0185 4.72048 10.6299 4.72048H8.66675ZM1.66675 9.33333L3.80008 2.66667H4.53341L6.66675 9.33333M2.37786 7.1738H5.95563M1.66675 12.6667H2.33341V13.3333H1.66675V12.6667ZM5.16675 12.6667H5.83341V13.3333H5.16675V12.6667ZM8.66675 12.6667H9.33341V13.3333H8.66675V12.6667ZM12.1667 12.6667H12.8334V13.3333H12.1667V12.6667ZM15.6667 12.6667H16.3334V13.3333H15.6667V12.6667Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
