// 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 SvgPaypal = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 16 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M5.52156 12.121H2.25732L3.68202 1.33331H8.12403C9.87636 1.33331 11.2969 2.75385 11.2969 4.50619C11.2969 6.25851 9.87636 7.67905 8.12403 7.67905H6.10819L5.52156 12.121Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
      <path
        d="M8.44963 14.6352H5.18538L6.61008 3.84747H11.0521C12.8044 3.84747 14.225 5.26801 14.225 7.02031C14.225 8.77265 12.8044 10.1932 11.0521 10.1932H9.03623L8.44963 14.6352Z"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
