// 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 SvgInboxBlock = ({
  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="M7.99984 11H1.6665V1.66667H13.6665V7.66667M1.6665 3L7.6665 6.33333L13.6665 3M15.3568 15.357L10.6428 10.643M16.3332 13C16.3332 14.8409 14.8408 16.3333 12.9998 16.3333C11.1589 16.3333 9.6665 14.8409 9.6665 13C9.6665 11.1591 11.1589 9.66667 12.9998 9.66667C14.8408 9.66667 16.3332 11.1591 16.3332 13Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
