// 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 SvgShareCode = ({
  color,
  className,
  ...props
}: SVGProps<SVGSVGElement> & {
  color?: Color
}) =>
  React.cloneElement(
    <svg
      width={16}
      height={16}
      viewBox="0 0 18 16"
      fill="none"
      xmlns="http://www.w3.org/2000/svg"
      {...props}
    >
      <path
        d="M10.6665 1.33337L7.99984 4.00004L10.6665 6.66671M13.3332 1.33337L15.9998 4.00004L13.3332 6.66671M1.1665 14.6667H8.6665L14.9998 12.6667V12.4053C14.9998 11.4451 14.2214 10.6667 13.2612 10.6667C13.088 10.6667 12.9156 10.6926 12.75 10.7436L8.7815 11.9646C8.70524 11.9881 8.62597 12 8.54617 12H5.33316M8.6665 12V10L4.21838 9.04684C4.07309 9.01571 3.92491 9.00004 3.77632 9.00004C2.6111 9.00004 1.6665 9.94464 1.6665 11.1098V11.3334"
        stroke="currentColor"
        vectorEffect="non-scaling-stroke"
      />
    </svg>,
    {
      className: iconVariants({
        color,
        className,
      }),
      ...props,
    },
  )
