I\'m having a problem with my React component. The nested children of my component ControlPanel don\'t seem to be rendering. Here is my code:
cl
function FancyBorder(props) {
return (
{props.children}
);
}
export default function WelcomeDialog() {
return (
Welcome
Thank you for visiting our spacecraft!
);
}
Anything inside the This is what I was looking after, check it out here
https://reactjs.org/docs/composition-vs-inheritance.htmlJSX tag gets passed into the FancyBorder component as childrenprop. Since FancyBorder renders {props.children} inside a