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 : []

Your code so far

class CampSite extends React.Component {
  constructor(props) {
  render() {
    return (
// change code below this line

const Camper = props => (<p>{}</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:

in codepen, you need to import proptypes as a js dependency.
From Importing react libraries into Codepen (namely prop-types)

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