class CampSite extends React.Component {
constructor(props) {
super(props);
}
render() {
return (
);
}
};
// change code below this line
const Camper = props => {
return
{props.name}
};
Camper.propTypes={
name:PropTypes.string.isRequired,
};
Camper.defaultProps={
name:‘CamperBot’,
};
jejus, i tried many ways to do this
but still im stuck in there.
what is wrong with me and this?
any idea?
(i tried whitespace issues)