// 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 SvgEmailAttachmentDocument = ({
  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="M8.99984 16.3333H16.3332V5L12.9998 1.66667H4.33317V7.66667M6.99984 17V12.3333C6.99984 10.8606 5.80593 9.66667 4.33317 9.66667C2.86041 9.66667 1.6665 10.8606 1.6665 12.3333V15C1.6665 15.7364 2.26346 16.3333 2.99984 16.3333C3.73622 16.3333 4.33317 15.7364 4.33317 15V11.6667"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
