Created
February 17, 2019 18:07
-
-
Save viclotana/9324e0d1f17d215b1299e01579397586 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const divStyle = { | |
color: 'blue', | |
backgroundImage: 'url(' + imgUrl + ')', | |
}; | |
function HelloWorldComponent() { | |
return <div style={divStyle}>Hello World!</div>; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment