import * as React from "react"; interface IHeader { name: string; 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 { static propTypes = { name: React.PropTypes.string.isRequired, namespace: React.PropTypes.string.isRequired } render () { return(
{this.props.namespace}/{this.props.name}
); } } export default repoHeader;