// 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 SvgMailLoading = ({
  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="M9.6665 11H1.6665V1.66666H13.6665V9M1.6665 3L7.6665 6.33333L13.6665 3M10.7505 14.3333C11.0465 15.4835 12.0906 16.3333 13.3332 16.3333C14.4522 16.3333 15.4104 15.6439 15.806 14.6667M15.9158 13C15.6198 11.8499 14.5758 11 13.3332 11C12.214 11 11.256 11.6894 10.8604 12.6667M13.9998 13H16.3332V10.6667M12.6665 14.3333H10.3332V16.6667"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
