Created
October 30, 2014 04:18
-
-
Save iammerrick/e4fbeaa2333b0c9faf98 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
React.createClass({ | |
render() { | |
var stylesheet = Stylesheet.create({ | |
div: { | |
color: '#FF0000', | |
display: 'flex' | |
} | |
}); | |
return <div style={stylesheet.div}>Hello World!</div> | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment