import React, { Component, version } from "react";
export default function IconWhatsapp({version,style}){
  return(
    <>
      {
        version === 'v1' ? 
        <svg id="bg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 75 75" style={style}><title>whats</title><g id="OMrRjb"><path d="M16.67,58.36c.08-.37.13-.61.2-.85.82-2.92,1.63-5.84,2.47-8.76a1.72,1.72,0,0,0-.16-1.38,20.78,20.78,0,0,1,5.13-26A20.25,20.25,0,0,1,40.8,16.92,20.65,20.65,0,0,1,57.92,33.4a20.11,20.11,0,0,1-6.47,19.49A20.6,20.6,0,0,1,28,56a1.74,1.74,0,0,0-1.34-.15Q22,57,17.41,58.2Zm5-5c.31,0,.53-.06.75-.12,1.53-.39,3.06-.76,4.57-1.18a1.72,1.72,0,0,1,1.48.19A16.84,16.84,0,0,0,42.78,54a17.32,17.32,0,0,0-5.66-33.81,16.92,16.92,0,0,0-12.93,6.26,16.75,16.75,0,0,0-4,10.48A17.06,17.06,0,0,0,23,47a1.28,1.28,0,0,1,.17,1.15c-.44,1.51-.86,3-1.28,4.55C21.82,52.86,21.78,53.09,21.72,53.4Z"/><path d="M30.68,27.76a1.53,1.53,0,0,1,1.9,1.2c.42,1.17,1,2.3,1.46,3.44a1.23,1.23,0,0,1-.25,1.49c-.42.45-.81.94-1.22,1.4a.82.82,0,0,0-.11,1.07,13.88,13.88,0,0,0,7.32,6.19.73.73,0,0,0,.91-.31c.49-.63,1-1.25,1.46-1.89A.91.91,0,0,1,43.42,40c1.35.65,2.71,1.27,4.07,1.89a.93.93,0,0,1,.57,1.13,5,5,0,0,1-6,4.3,17.82,17.82,0,0,1-6.75-2.91,22.53,22.53,0,0,1-7.07-7.62,7.91,7.91,0,0,1-1.11-5.43,5.32,5.32,0,0,1,2.17-3.34,4.1,4.1,0,0,1,1.4-.43Z"/></g></svg>
        : version === 'v2' ?
        <svg id="bg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 75 75" style={style}><defs></defs><title>whats_1</title><path style={{fillRule:'evenodd'}} class="cls-1" d="M37.23,25.45a12,12,0,0,0-9.8,18.61.91.91,0,0,1,.11.8c-.31,1-.6,2.11-.89,3.16,0,.15-.06.31-.11.53.22,0,.37,0,.52-.09,1.06-.27,2.13-.53,3.18-.82a1.21,1.21,0,0,1,1,.13,11.64,11.64,0,0,0,9.9,1.16,12,12,0,0,0-3.94-23.48Zm7.6,15.9a3.44,3.44,0,0,1-4.18,3,12.41,12.41,0,0,1-4.69-2A15.55,15.55,0,0,1,31.05,37a5.49,5.49,0,0,1-.77-3.77,3.66,3.66,0,0,1,1.5-2.32,2.81,2.81,0,0,1,1-.3v.1a1.06,1.06,0,0,1,1.32.83c.3.81.66,1.6,1,2.39a.87.87,0,0,1-.17,1c-.3.32-.57.65-.86,1a.58.58,0,0,0-.07.74A9.63,9.63,0,0,0,39.08,41a.51.51,0,0,0,.63-.22c.34-.44.69-.87,1-1.31a.63.63,0,0,1,.88-.22c.94.45,1.88.88,2.83,1.31A.63.63,0,0,1,44.83,41.35Z"/><path style={{fillRule:'evenodd'}} class="cls-1" d="M37.5,1.86A35.73,35.73,0,1,0,73.22,37.59,35.73,35.73,0,0,0,37.5,1.86Zm9.69,46.33a14.31,14.31,0,0,1-16.32,2.15,1.21,1.21,0,0,0-.93-.11l-6.39,1.65L23,52c.06-.26.09-.43.14-.6.57-2,1.13-4,1.72-6.07a1.19,1.19,0,0,0-.11-1A14.44,14.44,0,0,1,28.34,26.3a14.09,14.09,0,0,1,11.45-3.09A14.35,14.35,0,0,1,51.68,34.65,14,14,0,0,1,47.19,48.19Z"/></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>whatsapp</title><path style={{fill:'#4caf50',fillRule:'evenodd'}} class="cls-1" d="M37.12,20.15a16.92,16.92,0,0,0-12.93,6.26,16.75,16.75,0,0,0-4,10.48A17.06,17.06,0,0,0,23,47a1.28,1.28,0,0,1,.17,1.15c-.44,1.51-.86,3-1.28,4.55-.06.21-.1.44-.16.75.31,0,.53-.06.75-.12,1.53-.39,3.06-.76,4.57-1.18a1.72,1.72,0,0,1,1.48.19A16.84,16.84,0,0,0,42.78,54a17.32,17.32,0,0,0-5.66-33.81Zm10.94,22.9a5,5,0,0,1-6,4.3,17.82,17.82,0,0,1-6.75-2.91,22.53,22.53,0,0,1-7.07-7.62,7.91,7.91,0,0,1-1.11-5.43,5.32,5.32,0,0,1,2.17-3.34,4.1,4.1,0,0,1,1.4-.43v.14a1.53,1.53,0,0,1,1.9,1.2c.42,1.17,1,2.3,1.46,3.44a1.23,1.23,0,0,1-.25,1.49c-.42.45-.81.94-1.22,1.4a.82.82,0,0,0-.11,1.07,13.88,13.88,0,0,0,7.32,6.19.73.73,0,0,0,.91-.31c.49-.63,1-1.25,1.46-1.89A.91.91,0,0,1,43.42,40c1.35.65,2.71,1.27,4.07,1.89A.93.93,0,0,1,48.06,43.05Z"/><path style={{fill:'#4caf50',fillRule:'evenodd'}} 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.78Zm14,51.11A20.6,20.6,0,0,1,28,56a1.74,1.74,0,0,0-1.34-.15Q22,57,17.41,58.2l-.74.16c.08-.37.13-.61.2-.85.82-2.92,1.63-5.84,2.47-8.76a1.72,1.72,0,0,0-.16-1.38,20.78,20.78,0,0,1,5.13-26A20.25,20.25,0,0,1,40.8,16.92,20.65,20.65,0,0,1,57.92,33.4,20.11,20.11,0,0,1,51.45,52.89Z"/></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>whats_2</title><g id="OMrRjb"><path style={{fill:'#4caf50'}} class="cls-1" d="M16.67,58.36c.08-.37.13-.61.2-.85.82-2.92,1.63-5.84,2.47-8.76a1.72,1.72,0,0,0-.16-1.38,20.78,20.78,0,0,1,5.13-26A20.25,20.25,0,0,1,40.8,16.92,20.65,20.65,0,0,1,57.92,33.4a20.11,20.11,0,0,1-6.47,19.49A20.6,20.6,0,0,1,28,56a1.74,1.74,0,0,0-1.34-.15Q22,57,17.41,58.2Zm5-5c.31,0,.53-.06.75-.12,1.53-.39,3.06-.76,4.57-1.18a1.72,1.72,0,0,1,1.48.19A16.84,16.84,0,0,0,42.78,54a17.32,17.32,0,0,0-5.66-33.81,16.92,16.92,0,0,0-12.93,6.26,16.75,16.75,0,0,0-4,10.48A17.06,17.06,0,0,0,23,47a1.28,1.28,0,0,1,.17,1.15c-.44,1.51-.86,3-1.28,4.55C21.82,52.86,21.78,53.09,21.72,53.4Z"/><path style={{fill:'#4caf50'}} class="cls-1" d="M30.68,27.76a1.53,1.53,0,0,1,1.9,1.2c.42,1.17,1,2.3,1.46,3.44a1.23,1.23,0,0,1-.25,1.49c-.42.45-.81.94-1.22,1.4a.82.82,0,0,0-.11,1.07,13.88,13.88,0,0,0,7.32,6.19.73.73,0,0,0,.91-.31c.49-.63,1-1.25,1.46-1.89A.91.91,0,0,1,43.42,40c1.35.65,2.71,1.27,4.07,1.89a.93.93,0,0,1,.57,1.13,5,5,0,0,1-6,4.3,17.82,17.82,0,0,1-6.75-2.91,22.53,22.53,0,0,1-7.07-7.62,7.91,7.91,0,0,1-1.11-5.43,5.32,5.32,0,0,1,2.17-3.34,4.1,4.1,0,0,1,1.4-.43Z"/></g></svg>
        :
        null
      }
    </>
  )
}