Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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