import React, { Component, version } from "react";
export default function IconTwitch({version,style}){
  return(
    <>
      {
        version === 'v1' ? 
        <svg id="bg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 75 75" style={style}><title>twitch</title><path d="M20.91,16.44l-2.56,7.67V52.24H28.58v5.12h5.11l5.12-5.12h7.67L56.71,41.35V16.44Zm33.24,23L47,47.13H37.92l-5.5,4v-4h-9V19H54.15Z"/><rect x="36.25" y="26.67" width="2.56" height="10.23"/><rect x="43.92" y="26.67" width="2.56" height="10.23"/></svg>
        : version === 'v2' ?
        <svg id="bg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 75 75" style={style}><defs></defs><title>twitch_1</title><path class="cls-1" style={{fillRule:'evenodd'}} d="M32.42,51.14l5.5-4H47l7.16-7.67V19H23.47V47.13h9Zm11.5-24.47h2.56V36.9H43.92Zm-7.67,0h2.56V36.9H36.25Z"/><path class="cls-1" d="M37.5,1.78A35.72,35.72,0,1,0,73.22,37.5,35.72,35.72,0,0,0,37.5,1.78ZM56.71,41.35,46.48,52.24H38.81l-5.12,5.12H28.58V52.24H18.35V24.11l2.56-7.67h35.8Z"/></svg>
        : version === 'v3' ?
        <svg id="bg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 75 75" style={{background:'initial',padding:'0px'}}><defs></defs><title>twitch_2</title><path class="cls-1" style={{fill:'#673ab7',fillRule:'evenodd'}} d="M31.85,52.72,38,48.27H48l8-8.53V17H21.9V48.27h10ZM44.63,25.53h2.85V36.9H44.63Zm-8.52,0H39V36.9H36.11Z"/><path class="cls-1" style={{fill:'#673ab7',fillRule:'evenodd'}} d="M37.5,1.78A35.72,35.72,0,1,0,73.22,37.5,35.72,35.72,0,0,0,37.5,1.78ZM58.84,41.84,47.48,54H39l-5.68,5.68H27.59V54H16.22V22.69l2.84-8.52H58.84Z"/></svg>
        : version === 'v4' ?
        <svg id="bg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 75 75" style={{background:'initial',padding:'0px'}}><defs></defs><title>twitch_3</title><path class="cls-1" style={{fill:'#673ab7'}} d="M17.06,12.59l-2.84,8.52V52.37H25.59v5.68h5.68L37,52.37h8.53L56.84,40.26V12.59ZM54,38.16l-8,8.52H36l-6.12,4.46V46.68h-10V15.43H54Z"/><rect class="cls-1" style={{fill:'#673ab7'}} x="34.11" y="23.95" width="2.84" height="11.37"/><rect class="cls-1" style={{fill:'#673ab7'}} x="42.63" y="23.95" width="2.84" height="11.37"/></svg>
        :
        null
      }
    </>
  )
}