import type { SVGProps } from "react";

export interface XingOriginalProps extends SVGProps<SVGSVGElement> {
  /**
   * Icon size (width and height)
   * @default 16
   */
  size?: number | string;
}

/**
 * XingOriginal icon from social-media category
 *
 * @example
 * <XingOriginal size={16} />
 * <XingOriginal size={32} className="text-primary" />
 */
export const XingOriginal = ({ size = 16, ...props }: XingOriginalProps) => (
  <svg
    fill="none"
    height={size}
    viewBox="0 0 24 24"
    width={size}
    xmlns="http://www.w3.org/2000/svg"
    {...props}
  >
    <path d="M3.92388 4.73962C3.71541 4.73962 3.53998 4.81279 3.45187 4.95596C3.36062 5.10386 3.37478 5.29423 3.47154 5.48697L5.81191 9.53836C5.81584 9.54623 5.81584 9.55095 5.81191 9.55803L2.13419 16.0481C2.03821 16.2393 2.04293 16.4312 2.13419 16.5791C2.2223 16.7215 2.37806 16.8151 2.58653 16.8151H6.04791C6.56555 16.8151 6.81493 16.4659 6.99193 16.1465C6.99193 16.1465 10.5886 9.78538 10.7286 9.53836C10.7145 9.51555 8.34895 5.38863 8.34895 5.38863C8.17666 5.08183 7.91627 4.73962 7.38526 4.73962H3.92388Z" fill="#005A5F"/>
<path d="M18.466 0C17.9492 0 17.725 0.325695 17.5393 0.659247C17.5393 0.659247 10.0824 13.8833 9.83696 14.3176C9.84955 14.3412 14.7553 23.3408 14.7553 23.3408C14.9268 23.6476 15.1919 24 15.7221 24H19.1796C19.388 24 19.5509 23.9213 19.639 23.7789C19.731 23.631 19.7287 23.4359 19.6319 23.244L14.7521 14.3286C14.7474 14.3215 14.7474 14.3128 14.7521 14.3058L22.4159 0.755219C22.5119 0.564056 22.5143 0.368957 22.423 0.221061C22.3349 0.0786725 22.1713 0 21.9628 0H18.466Z" fill="#D4D600"/>
  </svg>
);
