add comments

This commit is contained in:
therewasaguy 2016-07-17 20:05:20 -04:00
parent 5561d49a48
commit e7ea35fa60

View file

@ -1,11 +1,20 @@
import React, { PropTypes } from 'react'; import React, { PropTypes } from 'react';
/**
* How many console messages to store
* @type {Number}
*/
const consoleMax = 5; const consoleMax = 5;
class Console extends React.Component { class Console extends React.Component {
constructor(props) { constructor(props) {
super(props); super(props);
/**
* An array of React Elements that include previous console messages
* @type {Array}
*/
this.children = []; this.children = [];
} }