mirror of
https://gitlab.silvrtree.co.uk/martind2000/nci.git
synced 2025-01-12 00:35:08 +00:00
18 lines
275 B
JavaScript
18 lines
275 B
JavaScript
|
'use strict';
|
||
|
|
||
|
define([
|
||
|
'react',
|
||
|
'react-router',
|
||
|
'templates/app/components/header/template'
|
||
|
], function(React, Router, template) {
|
||
|
template = template.locals({
|
||
|
Link: Router.Link
|
||
|
});
|
||
|
|
||
|
var Component = React.createClass({
|
||
|
render: template
|
||
|
});
|
||
|
|
||
|
return Component;
|
||
|
});
|