Skip to content

Instantly share code, notes, and snippets.



Created Sep 12, 2018
What would you like to do?
import React, { Component } from 'react';
import './Author.css';
import Avatar from '@material-ui/core/Avatar'
class Author extends Component {
render() {
return (
<div className="Author">
<Avatar alt={this.props.authorName} src={this.props.avatarImageSrc} />
<p>by {this.props.authorName}</p>
export default Author;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment