// 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 SvgButtonPreviousCircle = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 18"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M5.99996 4.66667V13.3333M16.3333 9C16.3333 10.9449 15.5607 12.8102 14.1854 14.1855C12.8101 15.5607 10.9449 16.3333 8.99996 16.3333C7.05504 16.3333 5.18978 15.5607 3.81451 14.1855C2.43924 12.8102 1.66663 10.9449 1.66663 9C1.66663 7.05508 2.43924 5.18982 3.81451 3.81455C5.18978 2.43929 7.05504 1.66667 8.99996 1.66667C10.9449 1.66667 12.8101 2.43929 14.1854 3.81455C15.5607 5.18982 16.3333 7.05508 16.3333 9ZM11.6666 12.4385V5.56136L6.00119 8.8082V9.19167L11.6666 12.4385Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
