Refactor and add doc level comments
This commit is contained in:
parent
0d915eccc4
commit
daa759a066
4 changed files with 35 additions and 17 deletions
|
@ -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,
|
||||
|
|
Reference in a new issue