Why is not thia working?

Tell us what’s happening:

Your code so far


class CampSite extends React.Component {
constructor(props) {
  super(props);
}

 render() {
  return (
    <div>
    <Camper name={'whatevr'}/> 
    </div>
  );
}
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 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36.

Challenge: Review Using Props with Stateless Functional Components

Link to the challenge:

You haven’t closed the parenthesis of CampSite class.