Create a Component with Composition - wat to do in this exercise?

Tell us what’s happening:

Your code so far


const ChildComponent = () => {
  return (
    <div>
      <p>I am the child</p>
    </div>
  );
};

class ParentComponent extends React.Component {
  constructor(props) {
    super(props);
  }
  render() {
    return (
      <div>
        <h1>I am the parent</h1>
        { /* change code below this line */ }
            

        { /* change code above this line */ }
      </div>
    );
  }
};

Your browser information:

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

Link to the challenge:
https://learn.freecodecamp.org/front-end-libraries/react/create-a-component-with-composition

It says:

Compose the two together by rendering the ChildComponent within the ParentComponent.

In the example says:

For example, in the render method you could write:

    return (
    <App>
          <Navbar />
          <Dashboard />
          <Footer />
    </App>
    )

There, inside App are the other components Navbar, Dashboard and Footer. The solution is similar to the example, but with ParentComponent and ChildComponent, of course.