React components: Review Using Props

Tell us what’s happening:
Hi, I’m not really sure what went wrong here because both the challenge and my answer are quite straightforward, can someone have a look at it for me please? Thanks

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/73.0.3683.75 Safari/537.36.

Link to the challenge:

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

You are passing spaces in your P tag. Remove the spaces before the { and after the }

You shouldn’t have anything in your P tag but the props.name.