header.jsx 455 B

12345678910111213141516
  1. var Header = React.createClass({
  2. getInitialState: function() {
  3. return {
  4. blockNumber: "", //todo, later for potentially adding contract creation as well.
  5. }
  6. },
  7. render: function() {
  8. return (
  9. <div>
  10. <h3 className={"text-center"} >{this.props.data.token_name} </h3>
  11. <img src={this.props.data.token_image} className={"img-circle center-block"}/>
  12. </div>
  13. );
  14. }
  15. });