forked from benmvp/react-workshop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
48 lines (47 loc) · 1.39 KB
/
App.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import React, {PureComponent} from 'react'
export default class App extends PureComponent {
render() {
return (
<main className="app">
<ul className="email-list">
<li>
<div className="email-list-item">
<span>[email protected]</span>
<span>Mauris lacinia sapien quis libero</span>
</div>
</li>
<li>
<div className="email-list-item">
<span>[email protected]</span>
<span>Mauris ullamcorper purus sit amet nulla</span>
</div>
</li>
<li>
<div className="email-list-item">
<span>[email protected]</span>
<span>Suspendisse potenti</span>
</div>
</li>
<li>
<div className="email-list-item">
<span>[email protected]</span>
<span>Maecenas rhoncus aliquam lacus</span>
</div>
</li>
<li>
<div className="email-list-item">
<span>[email protected]</span>
<span>Pellentesque ultrices mattis odio</span>
</div>
</li>
</ul>
<section className="email-view">
<h2>View selected email</h2>
</section>
<div className="email-form">
<h2>Add a new email</h2>
</div>
</main>
)
}
}