// 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 SvgImageCaption = ({
  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="M0.666748 16.3214H7.33341M0.666748 13.6548H15.3334M1.33341 8.3449L4.66675 5.01156L10.655 10.9998M1.33341 10.9998V1.6665H14.6667V10.9998H1.33341ZM11.0001 3.85596C11.7365 3.85596 12.3334 4.45291 12.3334 5.18929C12.3334 5.92567 11.7365 6.52262 11.0001 6.52262C10.2637 6.52262 9.66675 5.92567 9.66675 5.18929C9.66675 4.45291 10.2637 3.85596 11.0001 3.85596Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
