nci/static/js/app/components/app.js
Vladimir Polyakov 364943bfe0 reflux draft
2015-05-04 02:04:51 +03:00

23 lines
366 B
JavaScript

'use strict';
define([
'react',
'app/components/projects/index',
'templates/app/components/app'
], function(React, Projects, template) {
var Component = React.createClass({
getInitialState: function() {
return {
projects: []
};
},
render: function() {
return template({
ProjectsList: Projects.List
});
}
});
return Component;
});