/react_sum

Primary LanguageJavaScript

Sum component

Task

Implement a component Sum accepting props a and b and rendering a paragraph with the text: "Sum of 2 and 1 is 3". App component should render 3 Sum components for 2 + 2, 10 + 0 and -5 + 5