// 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 SvgOrientationPortrait = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 16 18"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M2 12.3826L5 9.38264L8.6 12.9826L10.4 11.1826L14 14.7826M2 16.3332V1.6665H14V16.3332H2ZM10 4.91846C10.7364 4.91846 11.3333 5.51541 11.3333 6.25179C11.3333 6.98817 10.7364 7.58512 10 7.58512C9.2636 7.58512 8.66667 6.98817 8.66667 6.25179C8.66667 5.51541 9.2636 4.91846 10 4.91846Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
