From ebee68fb0cf50d2892115a63a701697b50c6ed6f Mon Sep 17 00:00:00 2001 From: Robin Wieruch Date: Mon, 5 Apr 2021 09:48:10 +0200 Subject: [PATCH] 2021 --- src/App.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/App.js b/src/App.js index 5df4878b4..941bd163f 100644 --- a/src/App.js +++ b/src/App.js @@ -1,11 +1,16 @@ import * as React from 'react'; -const title = 'React'; +function getTitle(title) { + return title; +} function App() { return (
-

Hello World

+

Hello {getTitle('React')}

+ + +
); }