import React, { Component, version } from "react";
export default function IconFoursquare({version,style}){
  return(
    <>
      {
        version === 'v1' ? 
        <svg id="bg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 75 75" style={style}><title>foursquare</title><path d="M48.43,15.86H26.86A3.6,3.6,0,0,0,23,19.55V54.22a2.27,2.27,0,0,0,1.33,2.41,2.57,2.57,0,0,0,2.6-.56S37.19,44,37.35,43.8s.25-.19.37-.19H44.2c2.76,0,3.29-1.94,3.6-3.11.24-1,3.1-15,4-19.41C52.45,17.68,51.59,15.86,48.43,15.86Zm-2.15,6.63c-.23,1.16-.5,2.47-.78,3.85a1.28,1.28,0,0,1-1.25,1H37.07a1.29,1.29,0,0,0-1.28,1.28V31.2a1.28,1.28,0,0,0,1.28,1.28h5.61A1.28,1.28,0,0,1,43.93,34c-.28,1.36-.53,2.56-.72,3.47a1.25,1.25,0,0,1-1.25,1H37.71a5.45,5.45,0,0,0-4.26,2l-5.33,6.28V22.25A1.28,1.28,0,0,1,29.4,21H45A1.27,1.27,0,0,1,46.28,22.49Z"/></svg>
        : version === 'v2' ?
        <svg id="bg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 75 75" style={style}><defs></defs><title>foursquare_1</title><path class="cls-1" d="M46,23H30.4a1.28,1.28,0,0,0-1.28,1.28V48.77l5.33-6.28a5.45,5.45,0,0,1,4.26-2H43a1.25,1.25,0,0,0,1.25-1c.19-.91.44-2.11.72-3.47a1.28,1.28,0,0,0-1.25-1.54H38.07a1.28,1.28,0,0,1-1.28-1.28V30.64a1.29,1.29,0,0,1,1.28-1.28h7.18a1.28,1.28,0,0,0,1.25-1c.28-1.38.55-2.69.78-3.85A1.27,1.27,0,0,0,46,23Z"/><path class="cls-1" d="M37.5.59A35.73,35.73,0,1,0,73.22,36.32,35.72,35.72,0,0,0,37.5.59Zm15.28,22.5c-.88,4.43-3.74,18.43-4,19.41-.31,1.17-.84,3.11-3.6,3.11H38.72c-.12,0-.2,0-.37.19S27.94,58.07,27.94,58.07a2.57,2.57,0,0,1-2.6.56A2.27,2.27,0,0,1,24,56.22V21.55a3.6,3.6,0,0,1,3.85-3.69H49.43C52.59,17.86,53.45,19.68,52.78,23.09Z"/></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>foursquare_2</title><path class="cls-1" style={{fill:'#ec407a',fillRule:'evenodd'}} d="M48.86,23.45H31.5a1.43,1.43,0,0,0-1.42,1.42V52.12l5.92-7a6.07,6.07,0,0,1,4.74-2.22h4.72a1.4,1.4,0,0,0,1.39-1.11c.21-1,.48-2.35.79-3.86a1.41,1.41,0,0,0-1.39-1.71H40a1.42,1.42,0,0,1-1.42-1.42V32A1.41,1.41,0,0,1,40,30.56h8a1.44,1.44,0,0,0,1.39-1.15l.87-4.27A1.41,1.41,0,0,0,48.86,23.45Z"/><path class="cls-1" style={{fill:'#ec407a',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.78ZM56.37,23.59c-1,4.91-4.15,20.47-4.43,21.56-.34,1.3-.92,3.45-4,3.45h-7.2c-.13,0-.22,0-.4.22L28.77,62.45a2.71,2.71,0,0,1-1.95.78,2.66,2.66,0,0,1-.94-.16c-.53-.22-1.48-.78-1.48-2.68V21.87a4,4,0,0,1,4.27-4.1h24C56.15,17.77,57.11,19.79,56.37,23.59Z"/></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>foursquare_3</title><path class="cls-1" style={{fill:'#ec407a'}} d="M49.64,14.77h-24a4,4,0,0,0-4.27,4.1V57.39c0,1.9,1,2.46,1.48,2.68a2.66,2.66,0,0,0,.94.16,2.71,2.71,0,0,0,1.95-.78L37.34,45.82c.18-.22.27-.22.4-.22h7.2c3.08,0,3.66-2.15,4-3.45.28-1.09,3.45-16.65,4.43-21.56C54.11,16.79,53.15,14.77,49.64,14.77Zm-2.38,7.37-.87,4.27A1.44,1.44,0,0,1,45,27.56H37A1.41,1.41,0,0,0,35.61,29v2.84A1.42,1.42,0,0,0,37,33.24h6.22A1.41,1.41,0,0,1,44.64,35c-.31,1.51-.58,2.85-.79,3.86a1.4,1.4,0,0,1-1.39,1.11H37.74A6.07,6.07,0,0,0,33,42.14l-5.92,7V21.87a1.43,1.43,0,0,1,1.42-1.42H45.86A1.41,1.41,0,0,1,47.26,22.14Z"/></svg>
        :
        null
      }
    </>
  )
}