Code coverage report for src/components/student-dashboard/empty-panel.cjsx

Statements: 100% (7 / 7)      Branches: 100% (2 / 2)      Functions: 100% (1 / 1)      Lines: 100% (7 / 7)      Ignored: none     

All files » src/components/student-dashboard/ » empty-panel.cjsx
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19           18× 18× 18×              
var BS, React;
 
React = require('react');
 
BS = require('react-bootstrap');
 
module.exports = React.createClass({
  displayName: 'EmptyPanel',
  render: function() {
    var content;
    content = this.props.children || 'No events this week';
    return React.createElement(BS.Panel, {
      "className": 'empty',
      "header": this.props.title
    }, content);
  }
});