nci/static/js/app/components/header/component.js

18 lines
275 B
JavaScript
Raw Normal View History

2015-05-17 13:48:16 +00:00
'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;
});