Skip to content

Instantly share code, notes, and snippets.

@jxson
Created June 27, 2014 22:56
Show Gist options
  • Save jxson/05fa7e8c66299aea9cfa to your computer and use it in GitHub Desktop.
Save jxson/05fa7e8c66299aea9cfa to your computer and use it in GitHub Desktop.
var h = require('mercury').h;
var css = require('./index.css');
var insert = require('insert-css');
module.exports = function component(state) {
insert(css);
return h('.foo')
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment