function Child() {
return <div>This is children content</div>;
}
// Add code only here
function Parent(props) {
return (
<div>
<h3>Parent Component</h3>
{props.children}
</div>
);
}
function App() {
return (
<Parent>
<Child />
</Parent>
);
}
ReactDOM.render(<App />, document.getElementById("root"));
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)