import type { SVGProps } from "react";

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

/**
 * TwitchOriginal icon from social-media category
 *
 * @example
 * <TwitchOriginal size={16} />
 * <TwitchOriginal size={32} className="text-primary" />
 */
export const TwitchOriginal = ({ size = 16, ...props }: TwitchOriginalProps) => (
  <svg
    fill="none"
    height={size}
    viewBox="0 0 24 24"
    width={size}
    xmlns="http://www.w3.org/2000/svg"
    {...props}
  >
    <path d="M20.5721 11.1429L17.1436 14.5714H13.715L10.715 17.5714V14.5714H6.85785V1.71429H20.5721V11.1429Z" fill="white"/>
<path d="M6.00074 0L1.71503 4.28571V19.7143H6.85788V24L11.1436 19.7143H14.5722L22.2865 12V0H6.00074ZM20.5722 11.1429L17.1436 14.5714H13.715L10.715 17.5714V14.5714H6.85788V1.71429H20.5722V11.1429Z" fill="#9146FF"/>
<path d="M18.0007 4.71429H16.2864V9.85715H18.0007V4.71429Z" fill="#9146FF"/>
<path d="M13.2864 4.71429H11.5721V9.85715H13.2864V4.71429Z" fill="#9146FF"/>
  </svg>
);
