// 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 SvgAlignSelection = ({
  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="M2.66659 2H7.33325M13.9999 2.66667V7.33334M1.99992 2.66667V7.33334M7.33325 14H2.66659M13.3333 14H8.66659M8.66659 2H13.3333M13.9999 8.66667V13.3333M1.99992 8.66667V13.3333M1.33325 1.33334H2.6661V2.66618H1.33325V1.33334ZM1.33325 7.33367H2.6661V8.66654H1.33325V7.33367ZM13.3333 1.33334H14.6661V2.66618H13.3333V1.33334ZM7.33359 1.33334H8.66645V2.66618H7.33359V1.33334ZM13.3333 7.33367H14.6661V8.66654H13.3333V7.33367ZM1.33325 13.3338H2.6661V14.6667H1.33325V13.3338ZM7.33359 13.3338H8.66645V14.6667H7.33359V13.3338ZM13.3333 13.3338H14.6661V14.6667H13.3333V13.3338Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
