forked from Algy/swpp-react-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 51
Expand file tree
/
Copy pathTodoDetail.js
More file actions
27 lines (25 loc) · 670 Bytes
/
Copy pathTodoDetail.js
File metadata and controls
27 lines (25 loc) · 670 Bytes
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
import React from 'react';
import './TodoDetail.css';
const TodoDetail = (props) => {
return (
<div className="TodoDetail">
<div className="row">
<div className="left">
Name:
</div>
<div className="right">
{props.title}
</div>
</div>
<div className="row">
<div className="left">
Content:
</div>
<div className="right">
{props.content}
</div>
</div>
</div>
)
}
export default TodoDetail;