convert background-image to image tag in jsx code example Example: how to import background image in inline css in react style={{backgroundImage: `url(${pencil})`}}