Setting a background Image With React Inline Styles

JavaScript
style={{  
  backgroundImage: "url(" + "https://images.pexels.com/photos/34153/pexels-photo.jpg?auto=compress&cs=tinysrgb&h=350" + ")",
  backgroundPosition: 'center',
  backgroundSize: 'cover',
  backgroundRepeat: 'no-repeat'
}}style={{backgroundImage: `url(${pencil})`}}backgroundImage: `url(${Background})`
Source

Also in JavaScript: