// 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 SvgMirrorHorizontally = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 17"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M2.33342 4.00016H15.6667M2.33342 4.00016L5.00008 1.3335M2.33342 4.00016L5.00008 6.66683M15.6667 4.00016L13.0001 1.3335M15.6667 4.00016L13.0001 6.66683M10.3334 15.3335V9.3335H10.6667L16.3334 15.0002V15.3335H10.3334ZM7.66675 15.3335V9.3335H7.33342L1.66675 15.0002V15.3335H7.66675Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
