// 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 SvgExpand = ({
  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="M10.3333 14.6667H5.66659M5.66659 1.33337H10.3333M1.33325 5.66671V10.3334M14.6666 5.66671V10.3334M1.33325 4.00004V1.33337H3.99992M14.6666 4.00004V1.33337H11.9999M14.6666 12V14.6667H11.9999M1.33325 12V14.6667H3.99992M4.66658 4.66671H11.3333V11.3334H4.66658V4.66671Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
