import React from "react"; const PropTypes = React.PropTypes; function puke(obj) { return
{JSON.stringify(obj, null, "  ")}
; } const Results = (props) => { return (
Results: {puke(props)}
); }; Results.propTypes = { isLoading: PropTypes.bool.isRequired, playerInfo: PropTypes.array.isRequired, scores: PropTypes.array.isRequired }; export default Results;