Refactor and add doc level comments

This commit is contained in:
Ian Minoso 2016-11-29 15:57:53 -05:00
parent 0d915eccc4
commit daa759a066
4 changed files with 35 additions and 17 deletions

View file

@ -5,6 +5,11 @@ interface IHeader {
namespace: string
}
/**
* The Component for the header of the repo page
* @param {string} name - The name of the repository
* @param {string} namespace - The namespace of the repository
*/
class repoHeader extends React.Component<IHeader, {}> {
static propTypes = {
name: React.PropTypes.string.isRequired,