Advertisement
joygabriel21

Header Component

Jan 21st, 2020
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. import React, { Component } from 'react';
  2. import Img from '../../atoms/Img';
  3. import MediaBody from '../../molecules/MediaBody';
  4. import './style.css';
  5.  
  6. export default class Header extends Component {
  7.  
  8. render() {
  9. return(
  10. <div>
  11. <div className='Media'>
  12. <Img
  13. width={160}
  14. height={160}
  15. src={this.props.image}
  16. alt="thumbnail"
  17. className='MediaLogo'
  18. />
  19. <MediaBody
  20. title={this.props.title}
  21. location={this.props.location}
  22. totalMembers={this.props.totalMembers}
  23. organizer={this.props.organizer}
  24. />
  25. </div>
  26. </div>
  27. )
  28. }
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement