clean up step 2-2

This commit is contained in:
Ken
2019-02-15 13:49:22 -08:00
parent 0d8d7e0e24
commit 2bac3b5245
8 changed files with 28 additions and 36 deletions

View File

@@ -6,7 +6,7 @@ import { TodoList } from './TodoList';
export const TodoApp = (props: {}) => (
<Stack horizontalAlign="center">
<Stack style={{ width: 400 }} verticalGap={25}>
<Stack style={{ width: 400 }} gap={25}>
<TodoHeader />
<TodoList />
<TodoFooter />

View File

@@ -23,7 +23,7 @@ class TodoList extends React.Component<TodoListProps> {
});
return (
<Stack verticalGap={10}>
<Stack gap={10}>
{filteredTodos.map(id => (
<TodoListItem key={id} id={id} />
))}