Skip to content

Instantly share code, notes, and snippets.

Created September 12, 2018 18:01
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
import React, { Component } from 'react';
import './FeaturedPost.css';
import Typography from '@material-ui/core/Typography';
import Paper from '@material-ui/core/Paper';
import Author from './Author';
class FeaturedPost extends Component {
return {__html: htmlString}
render() {
return (
<div className="FeaturedPost">
<Typography variant="headline" component="h3">
<Author authorName={} avatarImageSrc={}/>
<div className="content" dangerouslySetInnerHTML={this.createMarkup(}>
<button className="playArtist">Play Discography</button>
export default FeaturedPost;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment