import * as React from "react"; interface IBody { description: string } /** * The Component for the main body of the repo page * @param {string} description - The description of the repository */ class body extends React.Component { static propTypes = { description: React.PropTypes.string.isRequired, } render () { let description: string = this.props.description; if (description === null || description === "") { description = "No Description"; } return(
{description}
TODO (IAN): Convert the build directives to angular components
); } } export default body;