Created
May 10, 2016 15:32
-
-
Save hai5nguy/287f92437ba79d4d291ebae8561d4ec6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
export default class Home extends React.Component { | |
render() { | |
var blah = { | |
"blahprop1": "blahvalue1", | |
blahprop2: "blahpvalue2", | |
'blahprop3': 'blahvalue3', | |
blahprop4: 'blahvalue4', | |
'blahprop5': "blahvalue5" | |
} | |
var blah2 = { | |
blahprop2: "blah" | |
} | |
return ( | |
<div> | |
<div>{blah.blahprop1}</div> | |
<div>{blah.blahprop2}</div> | |
<div>{blah.blahprop3}</div> | |
<div>{blah.blahprop4}</div> | |
<div>{blah.blahprop5}</div> | |
<div>{ { 'foo1': 'foo1' }.foo1 }</div> | |
<div>{ { "foo2": "foo2" }.foo2 }</div> | |
<div>{ { foo3: "foo3" }.foo3 }</div> | |
</div> | |
) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment