Last active
July 20, 2016 11:34
-
-
Save dvas0004/b74ada04831a3c0700bd7a4b7a7e0a89 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
var someComponent = React.createClass({ | |
render: function() { | |
var data=[{'name':'dave','age':'12'},{'name':'foo','age':'19'}] | |
return ( | |
<div> | |
<span>Demo Component</span> | |
<ReactTable data={data}/> | |
</div> | |
); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment