import React, { Component, version } from "react";
export default function IconDiscord({version,style}){
  return(
    <>
      {
        version === 'v1' ? 
        <svg id="bg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 75 75" style={style}><title>Artboard 184</title><path d="M46.22,51.11,50,49.2c-.39-.74-.83-.86-1.5-.57a26.63,26.63,0,0,1-22,0c-.63-.27-1.12-.3-1.54.51.61.33,1.21.67,1.82,1s1.18.57,2,1c-.8,1.28-1.5,2.48-2.3,3.62a1.12,1.12,0,0,1-1,.17A35.17,35.17,0,0,1,15,49.47a2,2,0,0,1-.6-1.34A39.83,39.83,0,0,1,21,22.93,2.43,2.43,0,0,1,22.17,22c2.52-.86,5.06-1.63,7.59-2.45a1.24,1.24,0,0,1,1.79.91c.33,1.1,1,1.32,2.14,1.26,2.68-.15,5.38-.08,8.08,0,.74,0,1.12-.08,1.44-.78.81-1.75.49-1.76,2.53-1.27,1.61.39,3.18,1,4.8,1.36,2.33.57,3.71,2.08,4.86,4.14a40.84,40.84,0,0,1,5.21,22.72,2.3,2.3,0,0,1-1,1.94,40.64,40.64,0,0,1-9.75,5,1.23,1.23,0,0,1-1.74-.6C47.5,53.19,46.87,52.2,46.22,51.11ZM25.69,39c0,2.47,1.56,4.51,3.65,4.71A4.21,4.21,0,0,0,33.86,40c.49-2.6-1.07-5.24-3.32-5.61C27.89,33.93,25.71,36,25.69,39Zm23.62,0a4.56,4.56,0,0,0-2.85-4.47,3.81,3.81,0,0,0-4.36,1.34,5.1,5.1,0,0,0,.72,7,3.51,3.51,0,0,0,4,.49A4.5,4.5,0,0,0,49.31,39Z"/></svg>
        : version === 'v2' ?
        <svg id="bg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 75 75" style={style}><title>discord</title><path d="M44,35.56a2.8,2.8,0,0,0-3.18,1,3.74,3.74,0,0,0,.52,5.11,2.57,2.57,0,0,0,2.89.35,3.28,3.28,0,0,0,1.85-3.17A3.34,3.34,0,0,0,44,35.56Z"/><path d="M32.42,35.46a3.11,3.11,0,0,0-3.54,3.34,3.23,3.23,0,0,0,2.66,3.44,3.07,3.07,0,0,0,3.3-2.68A3.43,3.43,0,0,0,32.42,35.46Z"/><path 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.78ZM54.37,45.33a1.66,1.66,0,0,1-.77,1.41,29.55,29.55,0,0,1-7.12,3.64.89.89,0,0,1-1.27-.44c-.41-.74-.87-1.47-1.35-2.27l2.77-1.39c-.28-.54-.6-.63-1.09-.41a19.47,19.47,0,0,1-16,0c-.47-.2-.82-.22-1.13.37.44.24.88.49,1.32.72l1.45.69c-.58.93-1.1,1.81-1.67,2.64a.82.82,0,0,1-.72.12,25.49,25.49,0,0,1-7.66-4,1.44,1.44,0,0,1-.44-1,29.12,29.12,0,0,1,4.81-18.4,1.77,1.77,0,0,1,.85-.68c1.84-.63,3.69-1.19,5.54-1.79a.91.91,0,0,1,1.31.66c.24.81.71,1,1.56.92,2-.11,3.93-.06,5.89,0,.55,0,.82-.06,1.06-.57.59-1.28.36-1.29,1.84-.93,1.18.29,2.33.71,3.51,1a5.51,5.51,0,0,1,3.55,3A29.84,29.84,0,0,1,54.37,45.33Z"/></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>discord_1</title><path class="cls-1" style={{fill:'#5165f6'}} d="M44,35.56a2.8,2.8,0,0,0-3.18,1,3.74,3.74,0,0,0,.52,5.11,2.57,2.57,0,0,0,2.89.35,3.28,3.28,0,0,0,1.85-3.17A3.34,3.34,0,0,0,44,35.56Z"/><path class="cls-1" style={{fill:'#5165f6'}} d="M32.42,35.46a3.11,3.11,0,0,0-3.54,3.34,3.23,3.23,0,0,0,2.66,3.44,3.07,3.07,0,0,0,3.3-2.68A3.43,3.43,0,0,0,32.42,35.46Z"/><path class="cls-1" style={{fill:'#5165f6'}} 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.78ZM54.37,45.33a1.66,1.66,0,0,1-.77,1.41,29.55,29.55,0,0,1-7.12,3.64.89.89,0,0,1-1.27-.44c-.41-.74-.87-1.47-1.35-2.27l2.77-1.39c-.28-.54-.6-.63-1.09-.41a19.47,19.47,0,0,1-16,0c-.47-.2-.82-.22-1.13.37.44.24.88.49,1.32.72l1.45.69c-.58.93-1.1,1.81-1.67,2.64a.82.82,0,0,1-.72.12,25.49,25.49,0,0,1-7.66-4,1.44,1.44,0,0,1-.44-1,29.12,29.12,0,0,1,4.81-18.4,1.77,1.77,0,0,1,.85-.68c1.84-.63,3.69-1.19,5.54-1.79a.91.91,0,0,1,1.31.66c.24.81.71,1,1.56.92,2-.11,3.93-.06,5.89,0,.55,0,.82-.06,1.06-.57.59-1.28.36-1.29,1.84-.93,1.18.29,2.33.71,3.51,1a5.51,5.51,0,0,1,3.55,3A29.84,29.84,0,0,1,54.37,45.33Z"/></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>discord_2</title><path class="cls-1" style={{fill:'#5165f6'}} d="M46,51l3.69-1.86c-.39-.71-.81-.83-1.46-.54a25.89,25.89,0,0,1-21.33,0c-.62-.27-1.1-.3-1.51.49.6.32,1.18.65,1.77,1s1.15.55,1.93.93c-.78,1.24-1.46,2.4-2.23,3.5a1.09,1.09,0,0,1-.95.17,33.89,33.89,0,0,1-10.2-5.27,2,2,0,0,1-.58-1.29,38.71,38.71,0,0,1,6.4-24.47,2.35,2.35,0,0,1,1.13-.91c2.44-.83,4.91-1.58,7.37-2.38a1.19,1.19,0,0,1,1.73.89c.32,1.07,1,1.28,2.08,1.22,2.61-.15,5.23-.08,7.84,0,.72,0,1.09-.08,1.41-.76.78-1.7.47-1.71,2.45-1.23,1.57.37,3.09.94,4.66,1.32a7.32,7.32,0,0,1,4.72,4,39.73,39.73,0,0,1,5.06,22.06,2.21,2.21,0,0,1-1,1.87,39.79,39.79,0,0,1-9.47,4.85,1.2,1.2,0,0,1-1.69-.58C47.21,53.05,46.6,52.09,46,51ZM26,39.23c0,2.4,1.52,4.39,3.55,4.58A4.1,4.1,0,0,0,34,40.23c.48-2.52-1-5.08-3.22-5.44C28.17,34.36,26.05,36.35,26,39.23Zm22.93,0a4.41,4.41,0,0,0-2.76-4.34A3.68,3.68,0,0,0,42,36.23,5,5,0,0,0,42.66,43a3.46,3.46,0,0,0,3.85.47A4.37,4.37,0,0,0,49,39.27Z"/></svg>
        :
        null
      }
    </>
  )
}