import React, { Component, version } from "react";
export default function IconReddit({version,style}){
  return(
    <>
      {
        version === 'v1' ? 
        <svg id="bg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 75 75" style={style}><title>reddit</title><polygon points="32.3 38.87 31.02 38.87 31.02 38.87 32.3 38.87"/><polygon points="43.8 38.87 45.08 38.87 43.8 38.87 43.8 38.87"/><path d="M40.68,20.69h.07L48,22.41l.68.15.39-.58a2.84,2.84,0,1,1-.44,1.84l-.07-.71L47.91,23l-6.25-1.46-.81-.19-.33.77-2.15,5-.55,1.29,1.4.1a20.57,20.57,0,0,1,10.07,3.29l.6.41.58-.44a4,4,0,0,1,2.46-.83A4.13,4.13,0,0,1,57.05,35a4.07,4.07,0,0,1-2.21,3.63l-.59.3,0,.65c0,.18,0,.35,0,.53,0,6.5-7.58,11.79-16.9,11.79s-16.9-5.29-16.9-11.79c0-.2,0-.4,0-.6l.06-.65L20,38.59A4.07,4.07,0,0,1,18,35a4.13,4.13,0,0,1,4.12-4.12,4,4,0,0,1,2.4.77l.57.43.59-.4a20.86,20.86,0,0,1,10.94-3.29l.64,0,.25-.58,3-6.95a.29.29,0,0,1,.26-.18m0-1a1.28,1.28,0,0,0-1.18.78l-3,7a21.83,21.83,0,0,0-11.48,3.46,5,5,0,0,0-3-1A5.13,5.13,0,0,0,17,35a5,5,0,0,0,2.59,4.42q0,.34,0,.69c0,7.05,8,12.79,17.9,12.79s17.9-5.74,17.9-12.79c0-.2,0-.4,0-.59A5.06,5.06,0,0,0,58.05,35a5.13,5.13,0,0,0-5.12-5.12,5,5,0,0,0-3.07,1A21.4,21.4,0,0,0,39.29,27.5l2.15-5,6.24,1.46a3.81,3.81,0,1,0,.59-2.49L41,19.73a1,1,0,0,0-.3,0Z"/><circle cx="51.48" cy="23.53" r="1.28"/><circle cx="31.02" cy="38.87" r="2.56"/><path d="M43.32,47.35a10,10,0,0,1-11.81,0A1.28,1.28,0,1,1,33,45.28a7.5,7.5,0,0,0,8.82,0,1.28,1.28,0,0,1,1.5,2.07Z"/><circle cx="43.8" cy="38.87" r="2.56"/></svg>
        : version === 'v2' ?
        <svg id="bg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 75 75" style={style}><defs></defs><title>reddit_1</title><path class="cls-1" style={{fillRule:'evenodd'}} d="M33.14,40.34a2.84,2.84,0,1,0-2.84,2.84A2.84,2.84,0,0,0,33.14,40.34Z"/><path class="cls-1" style={{fillRule:'evenodd'}} d="M42.3,47.46a8.33,8.33,0,0,1-9.8,0,1.42,1.42,0,0,0-1.66,2.31,11.21,11.21,0,0,0,13.12,0,1.42,1.42,0,0,0-1.66-2.31Z"/><path class="cls-1" style={{fillRule:'evenodd'}} d="M53,24.71a1.42,1.42,0,1,0-1.42-1.42A1.42,1.42,0,0,0,53,24.71Z"/><path class="cls-1" style={{fillRule:'evenodd'}} d="M44.5,37.5a2.84,2.84,0,1,0,2.85,2.84A2.84,2.84,0,0,0,44.5,37.5Z"/><path class="cls-1" style={{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.78ZM57.27,41.1c0,.22,0,.44,0,.66C57.29,49.6,48.37,56,37.4,56S17.51,49.6,17.51,41.76c0-.26,0-.51,0-.76a5.63,5.63,0,0,1-2.87-4.92,5.69,5.69,0,0,1,5.68-5.68,5.56,5.56,0,0,1,3.33,1.07,24.42,24.42,0,0,1,12.75-3.85l3.3-7.73a1.41,1.41,0,0,1,1.63-.82L49.47,21a4.27,4.27,0,1,1-.66,2.77l-6.94-1.62L39.49,27.7a23.86,23.86,0,0,1,11.74,3.85,5.62,5.62,0,0,1,3.42-1.15,5.69,5.69,0,0,1,5.68,5.68A5.62,5.62,0,0,1,57.27,41.1Z"/></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>reddit_2</title><path class="cls-1" style={{fill:'#d32f2f',fillRule:'evenodd'}} d="M33.14,40.34a2.84,2.84,0,1,0-2.84,2.84A2.84,2.84,0,0,0,33.14,40.34Z"/><path class="cls-1" style={{fill:'#d32f2f',fillRule:'evenodd'}} d="M42.3,47.46a8.33,8.33,0,0,1-9.8,0,1.42,1.42,0,0,0-1.66,2.31,11.21,11.21,0,0,0,13.12,0,1.42,1.42,0,0,0-1.66-2.31Z"/><path class="cls-1" style={{fill:'#d32f2f',fillRule:'evenodd'}} d="M53,24.71a1.42,1.42,0,1,0-1.42-1.42A1.42,1.42,0,0,0,53,24.71Z"/><path class="cls-1" style={{fill:'#d32f2f',fillRule:'evenodd'}} d="M44.5,37.5a2.84,2.84,0,1,0,2.85,2.84A2.84,2.84,0,0,0,44.5,37.5Z"/><path class="cls-1" style={{fill:'#d32f2f',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.78ZM57.27,41.1c0,.22,0,.44,0,.66C57.29,49.6,48.37,56,37.4,56S17.51,49.6,17.51,41.76c0-.26,0-.51,0-.76a5.63,5.63,0,0,1-2.87-4.92,5.69,5.69,0,0,1,5.68-5.68,5.56,5.56,0,0,1,3.33,1.07,24.42,24.42,0,0,1,12.75-3.85l3.3-7.73a1.41,1.41,0,0,1,1.63-.82L49.47,21a4.27,4.27,0,1,1-.66,2.77l-6.94-1.62L39.49,27.7a23.86,23.86,0,0,1,11.74,3.85,5.62,5.62,0,0,1,3.42-1.15,5.69,5.69,0,0,1,5.68,5.68A5.62,5.62,0,0,1,57.27,41.1Z"/></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>reddit_3</title><polygon class="cls-1" style={{fill:'#fafafa'}} points="29.72 37.58 28.3 37.57 28.3 37.58 29.72 37.58"/><polygon class="cls-1" style={{fill:'#fafafa'}} points="42.5 37.58 43.92 37.58 42.5 37.57 42.5 37.58"/><path class="cls-2" style={{fill:'#4d4d4d'}} d="M35.4,54.2c-11.52,0-20.89-6.82-20.89-15.2v-.23a6.62,6.62,0,0,1-2.84-5.46,6.69,6.69,0,0,1,6.68-6.68,6.55,6.55,0,0,1,3.33.88,25.41,25.41,0,0,1,12.08-3.62l3.05-7.15a2.42,2.42,0,0,1,2.77-1.41l7.48,1.75a5.27,5.27,0,1,1-1.12,4.7l-5.48-1.27-1.52,3.56a25,25,0,0,1,10.29,3.51,6.57,6.57,0,0,1,3.42-.95,6.69,6.69,0,0,1,6.68,6.68,6.6,6.6,0,0,1-3,5.59V39C56.29,47.38,46.92,54.2,35.4,54.2Zm-17-25.57a4.69,4.69,0,0,0-4.68,4.68,4.62,4.62,0,0,0,2.36,4,1,1,0,0,1,.51,1c0,.22,0,.45,0,.68,0,7.28,8.47,13.2,18.89,13.2S54.29,46.28,54.29,39c0-.2,0-.4,0-.6a1,1,0,0,1,.54-1,4.59,4.59,0,0,0,2.52-4.13,4.69,4.69,0,0,0-4.68-4.68,4.58,4.58,0,0,0-2.81.95,1,1,0,0,1-1.18,0,23,23,0,0,0-11.25-3.67,1,1,0,0,1-.78-.48,1,1,0,0,1-.06-.91L39,19a1,1,0,0,1,1.15-.58L47,20a1,1,0,0,1,.76.87,3.24,3.24,0,1,0,.5-2.12,1,1,0,0,1-1.06.43l-8.11-1.9a.42.42,0,0,0-.48.25l-3.3,7.73a1,1,0,0,1-.88.61,23.34,23.34,0,0,0-12.22,3.67,1,1,0,0,1-1.16,0A4.55,4.55,0,0,0,18.35,28.63Z"/><circle class="cls-3" style={{fill:'#d32f2f'}} cx="51.03" cy="20.53" r="1.42"/><circle class="cls-3" style={{fill:'#d32f2f'}} cx="28.3" cy="37.57" r="2.84"/><path class="cls-3" style={{fill:'#d32f2f'}} d="M42,47a11.17,11.17,0,0,1-13.12,0,1.42,1.42,0,0,1,1.66-2.3,8.36,8.36,0,0,0,9.8,0A1.42,1.42,0,1,1,42,47Z"/><circle class="cls-3" style={{fill:'#d32f2f'}} cx="42.5" cy="37.57" r="2.84"/></svg>
        :
        null
      }
    </>
  )
}