Merge branch 'master' of github.com:Microsoft/frontend-bootcamp

This commit is contained in:
Ken
2019-02-28 09:23:30 -08:00
66 changed files with 549 additions and 380 deletions

View File

@@ -13,7 +13,7 @@ export const TodoFooter = (props: TodoFooterProps) => {
return (
<Stack horizontal horizontalAlign="space-between">
<Text>
{itemCount} item{itemCount > 1 ? 's' : ''} left
{itemCount} item{itemCount === 1 ? '' : 's'} left
</Text>
<DefaultButton onClick={() => props.clear()}>Clear Completed</DefaultButton>
</Stack>

View File

@@ -34,7 +34,7 @@ export class TodoHeader extends React.Component<TodoHeaderProps, TodoHeaderState
styles={props => ({
...(props.focused && {
field: {
backgroundColor: 'black'
backgroundColor: '#c7e0f4'
}
})
})}

View File

@@ -16,7 +16,7 @@ export const TodoFooter = (props: TodoFooterProps) => {
return (
<Stack horizontal horizontalAlign="space-between">
<Text>
{itemCount} item{itemCount > 1 ? 's' : ''} left
{itemCount} item{itemCount === 1 ? '' : 's'} left
</Text>
<DefaultButton onClick={() => props.clear()}>Clear Completed</DefaultButton>
</Stack>