mirror of
https://gitlab.silvrtree.co.uk/martind2000/nci.git
synced 2025-01-12 05:15:07 +00:00
23 lines
366 B
JavaScript
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;
|
|
});
|