const Header = (props) => { return (
{props.part} {props.desc}
) } const Total = (props) => { return (Number of exercises {props.one + props.two + props.three}
) } const App = () => { const course = 'Half Stack application development' const part1 = 'Fundamentals of React' const exercises1 = 10 const part2 = 'Using props to pass data' const exercises2 = 7 const part3 = 'State of a component' const exercises3 = 14 return (