Added css to todo tasks
This commit is contained in:
parent
b53b8758ba
commit
7d3769cf4f
4 changed files with 44 additions and 4 deletions
12
view/TodoItem.tsx
Normal file
12
view/TodoItem.tsx
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import * as React from "react";
|
||||
|
||||
function TodoItem(props: any) {
|
||||
return (
|
||||
<div className="todo-item">
|
||||
<input type="checkbox" />
|
||||
<p>{props.task.text}</p>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default TodoItem
|
||||
Loading…
Add table
Add a link
Reference in a new issue