// 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 SvgTrendingContent = ({
  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="M8 1.66675H7.85087L3.75737 5.85462C1.41421 8.25181 1.41421 12.1383 3.75737 14.5355C6.10052 16.9327 9.89953 16.9327 12.2427 14.5355C14.1751 12.5585 14.5139 9.56848 13.2588 7.23633C12.7015 7.72761 11.9761 8.02461 11.1827 8.02461C9.4254 8.02461 8.00073 6.56712 8.00073 4.76925L8 1.66675Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
