import * as React from "react"; interface IBody { description: string, api: Object } /** * The Component for the main body of the repo page * @param {string} description - The description of the repository * @param {object} api - The ApiService injected from Angular */ class body extends React.Component { static propTypes = { description: React.PropTypes.string.isRequired, api: React.PropTypes.object.isRequired } render () { let description: string = this.props.description; if (description === null || description === "") { description = "No Description"; } return(
{description}

Repository Builds

); } } export default body;