Added source code files which were left out

This commit is contained in:
Leoh 2021-10-17 18:18:25 +05:30
parent 32f0e6bc98
commit 470157b672
12 changed files with 414 additions and 0 deletions

View file

@ -0,0 +1,12 @@
import * as React from "react";
function TodoItem(props: any) {
return (
<div className="todo-item" id={props.id}>
<input type="checkbox" className="checkbox" id={props.id} onChange={props.onChange} checked={props.completed}/>
<p>{props.todo_text}</p>
</div>
)
}
export default TodoItem