mirror of
https://gitlab.silvrtree.co.uk/martind2000/nci.git
synced 2025-01-11 23:45:08 +00:00
21 lines
394 B
JavaScript
21 lines
394 B
JavaScript
'use strict';
|
|
|
|
define([
|
|
'react',
|
|
'react-router',
|
|
'app/components/projects/selector/index',
|
|
'templates/app/components/header/index',
|
|
'bootstrap/collapse'
|
|
], function(React, Router, ProjectsSelector, template) {
|
|
template = template.locals({
|
|
Link: Router.Link,
|
|
ProjectsSelector: ProjectsSelector
|
|
});
|
|
|
|
var Component = React.createClass({
|
|
render: template
|
|
});
|
|
|
|
return Component;
|
|
});
|