// 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 SvgAlignKeyObject = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 16 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M9.33325 12.6667H14.6666V15.1667M9.33325 12.6667L7.33325 14.6667H5.99992V10.6667H7.33325L9.33325 12.6667ZM12.3333 12.6667V15.1667M2.66659 2H7.33325M13.9999 2.66667V7.33333M1.99992 2.66667V7.33333M8.66659 2H13.3333M1.99992 8.66667V13.3333M1.33325 1.33333H2.6661V2.66618H1.33325V1.33333ZM1.33325 7.33367H2.6661V8.66653H1.33325V7.33367ZM13.3333 1.33333H14.6661V2.66618H13.3333V1.33333ZM7.33359 1.33333H8.66645V2.66618H7.33359V1.33333ZM13.3333 7.33367H14.6661V8.66653H13.3333V7.33367ZM1.33325 13.3338H2.6661V14.6667H1.33325V13.3338Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
