// 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 SvgVerticalToggleButton = ({
  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="M12.1666 11.8335V11.5002H11.8333V11.8335H12.1666Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
      <path
        d="M4.16659 4.50016V4.16683H3.83325V4.50016H4.16659Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
      <path
        d="M11.9999 1.3335C13.4727 1.3335 14.6666 2.5274 14.6666 4.00016V12.0002C14.6666 13.4729 13.4727 14.6668 11.9999 14.6668C10.5272 14.6668 9.33325 13.4729 9.33325 12.0002V4.00016C9.33325 2.5274 10.5272 1.3335 11.9999 1.3335Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
      <path
        d="M3.99992 1.3335C5.47268 1.3335 6.66659 2.5274 6.66659 4.00016V12.0002C6.66659 13.4729 5.47268 14.6668 3.99992 14.6668C2.52716 14.6668 1.33325 13.4729 1.33325 12.0002V4.00016C1.33325 2.5274 2.52716 1.3335 3.99992 1.3335Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
