Answers for "background image in react from variable"

0

background image in react from variable

var divStyle = {
  backgroundImage: 'url(' + imgUrl + ')',
  width: '300px'
};
Posted by: Guest on January-12-2021

Code answers related to "background image in react from variable"

Code answers related to "Javascript"

Browse Popular Code Answers by Language