Tell us what’s happening:
Describe your issue in detail here.
Its a disaster the day I choose the most stupid and filthy shit background to become a coder, I think cleaning a washroom is better than this ass filth
class CamperSite 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/116.0.0.0 Safari/537.36
Challenge: React - Review Using Props with Stateless Functional Components
Link to the challenge:
