diff --git a/src/App.jsx b/src/App.jsx index dc51f769d..df89403f6 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -1,14 +1,18 @@ import React from 'react'; import './App.scss'; -export const App = () => ( - <> -
Sum of 2 and 3 is 5
-Sum of -5 and 5 is 0
-Sum of 10 and 0 is 10
-Sum of 0 and 5 is 5
-Sum of 0 and 0 is 0
- {/* Replace paragraphs with Sum componets */} - {/* And remove commented lines :) */} - > -); +import { Sum } from './components/Sum/Sum'; + +export const App = () => { + return ( + <> +{`Sum of ${a} and ${b} is ${a + b}`}
; +};