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