Github component / refactored / added propTypes