import React, { Component, version } from "react";
export default function IconPinterest({version,style}){
  return(
    <>
      {
        version === 'v1' ? 
        <svg id="bg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 75 75" style={style}><title>pinterest</title><path d="M38.06,17.7c-11.22,0-17.18,7.18-17.18,15,0,3.63,2,8.16,5.28,9.6.49.22.76.13.87-.33s.53-2,.73-2.81a.71.71,0,0,0-.17-.71,9.34,9.34,0,0,1-1.94-5.66C25.65,27.35,30,22,37.39,22c6.39,0,10.87,4.15,10.87,10.09,0,6.72-3.55,11.36-8.17,11.36-2.56,0-4.46-2-3.85-4.49.72-3,2.15-6.12,2.15-8.26a3.17,3.17,0,0,0-3.28-3.49c-2.6,0-4.71,2.58-4.71,6A8.61,8.61,0,0,0,31.18,37S28.6,47.36,28.13,49.3c-.81,3.29.11,8.61.19,9.07a.27.27,0,0,0,.49.12c.25-.33,3.36-4.77,4.23-8l1.62-5.91c.86,1.55,3.33,2.84,6,2.84,7.84,0,13.5-6.89,13.5-15.43,0-8.2-7-14.32-16.06-14.32"/></svg>
        : version === 'v2' ?
        <svg id="bg" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 75 75" style={style}><defs></defs><title>pinterest_1</title><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.78Zm3.12,45.67c-2.63,0-5.1-1.29-6-2.84L33,50.52c-.87,3.2-4,7.64-4.23,8a.27.27,0,0,1-.49-.12c-.08-.46-1-5.78-.19-9.07C28.6,47.36,31.18,37,31.18,37a8.61,8.61,0,0,1-.78-3.68c0-3.46,2.11-6,4.71-6a3.17,3.17,0,0,1,3.28,3.49c0,2.14-1.43,5.31-2.15,8.26-.61,2.49,1.29,4.49,3.85,4.49,4.62,0,8.17-4.64,8.17-11.36C48.26,26.19,43.78,22,37.39,22,30,22,25.65,27.35,25.65,32.81a9.34,9.34,0,0,0,1.94,5.66.71.71,0,0,1,.17.71c-.2.79-.63,2.46-.73,2.81s-.38.55-.87.33c-3.25-1.44-5.28-6-5.28-9.6,0-7.84,6-15,17.18-15,9,0,16,6.12,16.06,14.32C54.12,40.56,48.46,47.45,40.62,47.45Z"/></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>pinterest_2</title><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.78ZM41,48.48c-2.93,0-5.67-1.44-6.63-3.15,0,0-1.44,5.26-1.79,6.56-1,3.56-4.43,8.49-4.71,8.86a.3.3,0,0,1-.54-.14c-.09-.51-1.11-6.42-.22-10.07.54-2.16,3.39-13.71,3.39-13.71a9.53,9.53,0,0,1-.86-4.08C29.61,28.9,32,26,34.84,26c2.45,0,3.65,1.76,3.65,3.88,0,2.37-1.59,5.9-2.4,9.18-.67,2.76,1.45,5,4.29,5,5.13,0,9.07-5.16,9.07-12.62,0-6.6-5-11.21-12.07-11.21-8.22,0-13,5.9-13,12a10.35,10.35,0,0,0,2.15,6.28.8.8,0,0,1,.19.79c-.23.88-.7,2.74-.81,3.13s-.42.61-1,.36C21.29,41.19,19,36.15,19,32.11c0-8.7,6.63-16.69,19.09-16.69,10,0,17.82,6.81,17.85,15.92C56,40.83,49.68,48.48,41,48.48Z"/></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>pinterest_3</title><path class="cls-1" style={{fill:'#d32f2f'}} d="M36.12,13.84c-12.46,0-19.09,8-19.09,16.69,0,4,2.26,9.07,5.87,10.67.55.25.85.14,1-.37s.58-2.24.81-3.12a.8.8,0,0,0-.19-.79,10.35,10.35,0,0,1-2.15-6.28c0-6.08,4.82-12,13-12,7.1,0,12.07,4.61,12.07,11.21,0,7.46-3.94,12.62-9.07,12.62-2.84,0-5-2.23-4.29-5,.81-3.28,2.4-6.81,2.4-9.18,0-2.12-1.2-3.88-3.65-3.88-2.89,0-5.23,2.86-5.23,6.7a9.55,9.55,0,0,0,.86,4.09S25.62,46.8,25.08,49c-.89,3.65.13,9.56.22,10.07a.3.3,0,0,0,.54.14c.28-.37,3.74-5.3,4.71-8.86.35-1.3,1.79-6.57,1.79-6.57,1,1.72,3.7,3.16,6.63,3.16,8.71,0,15-7.65,15-17.15,0-9.1-7.82-15.91-17.85-15.91"/></svg>
        :
        null
      }
    </>
  )
}