Skip to content
Closed

2021 #58

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
import * as React from 'react';

const title = 'React';
function getTitle(title) {
return title;
}

function App() {
return (
<div>
<h1>Hello World</h1>
<h1>Hello {getTitle('React')}</h1>

<label htmlFor="search">Search: </label>
<input id="search" type="text" />
</div>
);
}
Expand Down