Skip to content

Instantly share code, notes, and snippets.

Alexandre Galays AlexGalays

Block or report user

Report or block AlexGalays

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View react-tooltip.js
import ReactDOM from 'react-dom';
const options = {
offset: 15
};
const styles = {
position: 'absolute',
@AlexGalays
AlexGalays / index.js
Created Feb 1, 2015
requirebin sketch
View index.js
var h = require('virtual-dom/h');
var diff = require('virtual-dom/diff');
var patch = require('virtual-dom/patch');
var createElement = require('virtual-dom/create-element');
function render() {
return h('ul', elements.map(function(el) {
return h('li', {key: el.id, className: (el.isBlue ? 'blue' : '')}, String(el.id));
}));
You can’t perform that action at this time.