fixing up docs

This commit is contained in:
Ken
2019-02-24 14:17:33 -08:00
parent 1e609dd408
commit 5654f8897a
86 changed files with 638 additions and 279 deletions
@@ -1,6 +1,11 @@
import React from 'react';
export class TodoHeader extends React.Component<any, any> {
constructor(props) {
super(props);
this.state = { labelInput: '' };
}
render() {
const { filter } = this.props;
@@ -11,7 +11,7 @@ export class TodoList extends React.Component<any, any> {
return (
<ul className="todos">
{filteredTodos.map(id => (
<TodoListItem key={id} {...todos[id]} />
<TodoListItem key={id} id={id} {...todos[id]} />
))}
</ul>
);
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long