Skip to content

Instantly share code, notes, and snippets.

@protoEvangelion
Created August 9, 2017 22:23
Show Gist options
  • Save protoEvangelion/eb071bc2f7ac2ba86e08559c6c49dea5 to your computer and use it in GitHub Desktop.
Save protoEvangelion/eb071bc2f7ac2ba86e08559c6c49dea5 to your computer and use it in GitHub Desktop.
import Component from 'metal-jsx';
import ReadingProgress from './ReadingProgress';
window.ReadingProgress = node => {
return Component.render(<ReadingProgress />, node);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment