Skip to content

Instantly share code, notes, and snippets.

View hanneskaeufler's full-sized avatar
🏠
I may be slow to respond.

Hannes Käufler hanneskaeufler

🏠
I may be slow to respond.
View GitHub Profile
@aVolpe
aVolpe / EmbeddedGist.js
Created September 13, 2016 22:58
EmbeddedGist allows a gist to be embedded in a React application
import React, { Component } from 'react';
class EmbeddedGist extends Component {
constructor(props) {
super(props);
this.gist = props.gist;
this.file = props.file;
this.stylesheetAdded = false;
this.state = {