fleshed out up to step 6

This commit is contained in:
Micah Godbolt
2019-02-12 15:44:59 -08:00
parent df6f302623
commit 5a87f131b5
26 changed files with 516 additions and 4 deletions

View File

@@ -0,0 +1,15 @@
import React from "react";
export class TodoListItem extends React.Component<any, any> {
render() {
const {text, completed} = this.props;
return (
<li className="todo">
<label>
<input type="checkbox" checked={completed} /> {text}
</label>
</li>
);
}
}