Skip to content

Instantly share code, notes, and snippets.

@pierr
Created February 18, 2015 16:19
Show Gist options
  • Save pierr/949b757be2879f99ee73 to your computer and use it in GitHub Desktop.
Save pierr/949b757be2879f99ee73 to your computer and use it in GitHub Desktop.
Line
var ListMixin = require('list');
var lineRenderer = function(lineData){
return (<li></li>)
}
var ListMxin = ListMixin({Line: LineCustom}})
module.exports = React.createClass({
mixin: [ListMxin()],
Store: [],
lineRender: function(if(this.lineRenderer){retunr this})
});
Focus.createList({lineRender: function(){}})
function(obj){
var mixin = _.extend({}, ListMixin, obj)
}
<List line={Line}/>
ListProjject
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment