Review Using Props with Stateless Functional Components-unable to get result in codepen

Tell us what’s happening:
I passed this test in FCC but cannot get the required output in codepen . Wonder what I am missing behind the hood in codepen? My codepen file link for this challenge is : [https://codepen.io/meeramenon07/pen/wvwqMbJ]

Your code so far


class CampSite extends React.Component {
  constructor(props) {
    super(props);
  }
  render() {
    return (
      <div>
        <Camper/>
      </div>
    );
  }
};
// change code below this line

const Camper = props => (<p>{props.name}</p>)

Camper.defaultProps = {name: 'CamperBot'};

Camper.propTypes = 
{ name: PropTypes.string.isRequired};




Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/front-end-libraries/react/review-using-props-with-stateless-functional-components/

in codepen, you need to import proptypes as a js dependency.
https://cdnjs.cloudflare.com/ajax/libs/prop-types/15.6.0/prop-types.js
From Importing react libraries into Codepen (namely prop-types)

Thanks, I am able to do now after importing this source.