nci/static/js/app/components/header/component.js
2015-06-14 14:24:31 +03:00

20 lines
374 B
JavaScript

'use strict';
define([
'react',
'react-router',
'app/components/projects/selector/index',
'templates/app/components/header/template'
], function(React, Router, ProjectsSelector, template) {
template = template.locals({
Link: Router.Link,
ProjectsSelector: ProjectsSelector
});
var Component = React.createClass({
render: template
});
return Component;
});