// 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 SvgZTriggerRight = ({
  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="M9.02231 8.4668V5.66667H11.5223C11.9089 5.66667 12.2223 5.98007 12.2223 6.36668V7.76673C12.2223 8.15333 11.9089 8.4668 11.5223 8.4668H9.02231ZM9.02231 8.4668V11.1335M11.0223 8.4668L12.4588 10.6915M7.61637 10.4668H4.09327V10.0668L7.09324 6.06662V5.66661H3.58377M1.33337 4.66667V13.3333H14.6667V4.66667L12 2H4.00004L1.33337 4.66667Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
