// 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 SvgArrowExpand = ({
  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="M1.33331 6.66668V1.33334M1.33331 1.33334H6.66665M1.33331 1.33334L6.66665 6.66668M14.6666 9.33334V14.6667M14.6666 14.6667H9.33331M14.6666 14.6667L9.33331 9.33334M14.6666 6.66668V1.33334M14.6666 1.33334H9.33331M14.6666 1.33334L9.33331 6.66668M1.33331 9.33334V14.6667M1.33331 14.6667H6.66665M1.33331 14.6667L6.66665 9.33334"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
