// 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 SvgButtonRewindCircle = ({
  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="M16.3334 9C16.3334 10.9449 15.5608 12.8102 14.1855 14.1855C12.8103 15.5607 10.945 16.3333 9.00008 16.3333C7.05516 16.3333 5.1899 15.5607 3.81463 14.1855C2.43937 12.8102 1.66675 10.9449 1.66675 9C1.66675 7.05508 2.43937 5.18982 3.81463 3.81455C5.1899 2.43929 7.05516 1.66667 9.00008 1.66667C10.945 1.66667 12.8103 2.43929 14.1855 3.81455C15.5608 5.18982 16.3334 7.05508 16.3334 9Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
      <path
        d="M4.36953 8.99987L8.93201 11.6146L8.93455 9.66667H9.60128L12.9929 11.6146V6.38509L9.60128 8.33333H8.93455L8.93201 6.38509L4.36953 8.99987Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
