Always show "not include p tag", but I am sure I have included

Tell us what’s happening:

Your code so far

class CampSite extends React.Component {
constructor(props) {
render() {
  return (
      <Camper />
// 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/84.0.4147.125 Safari/537.36.

Challenge: Review Using Props with Stateless Functional Components

Link to the challenge:

1 Like

But why are you wrapping <Camper/> in p tags?