Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
render() {
const color1 = {backgroundColor: 'blue'};
return (
<div style={color1}>
This text will have a blue background
</div>
);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.