Skip to content

Instantly share code, notes, and snippets.

View chrisgalvan's full-sized avatar
🇲🇽
Full stack dev

Chris Galvan chrisgalvan

🇲🇽
Full stack dev
View GitHub Profile
@chrisgalvan
chrisgalvan / Popper.js
Created October 11, 2017 15:46 — forked from ebakan/Popper.js
React Component for Popper.js that takes the reference as its first child and the popper as its second child (a la react-tether)
import React, { Component, PropTypes } from 'react';
import popperJS from 'popper.js';
export default class Popper extends Component {
constructor(props) {
super(props);
this.state = {};
this.update = this.update.bind(this);
}