// 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 SvgDocumentCertificate = ({
  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.15536 13.6667H1.66669V1.66667H16.3334V13.6667H14.5M9.33335 12.4161V16.0001L11 15.3334L12.6667 16.0001V12.4161M4.00002 5.00001H8.32642M4.00002 7.66667H6.00002M11 9.66667V11M11 13C12.4728 13 13.6667 11.8061 13.6667 10.3333C13.6667 8.86061 12.4728 7.66667 11 7.66667C9.52729 7.66667 8.33335 8.86061 8.33335 10.3333C8.33335 11.8061 9.52729 13 11 13Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
