diff options
author | 杨宇千 <crupest@outlook.com> | 2019-02-23 15:56:23 +0000 |
---|---|---|
committer | 杨宇千 <crupest@outlook.com> | 2019-02-23 15:56:23 +0000 |
commit | 77afb5d67a8bf7d34cae74f29549d85d327ea4a7 (patch) | |
tree | de7a451c3da77ab453043468fcc169ad25025a79 /Timeline/ClientApp/src/app/todo-item/todo-item.component.ts | |
parent | 5189c65192874c0ee7a69449941056294ecd8517 (diff) | |
parent | aaafdb323fddfa4654117b84b371ba49de3dd433 (diff) | |
download | timeline-77afb5d67a8bf7d34cae74f29549d85d327ea4a7.tar.gz timeline-77afb5d67a8bf7d34cae74f29549d85d327ea4a7.tar.bz2 timeline-77afb5d67a8bf7d34cae74f29549d85d327ea4a7.zip |
Merged PR 6: Add icon of todo list and redesign it.
Related work items: #1, #3
Diffstat (limited to 'Timeline/ClientApp/src/app/todo-item/todo-item.component.ts')
-rw-r--r-- | Timeline/ClientApp/src/app/todo-item/todo-item.component.ts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Timeline/ClientApp/src/app/todo-item/todo-item.component.ts b/Timeline/ClientApp/src/app/todo-item/todo-item.component.ts new file mode 100644 index 00000000..27d57e28 --- /dev/null +++ b/Timeline/ClientApp/src/app/todo-item/todo-item.component.ts @@ -0,0 +1,14 @@ +import { Component, OnInit, Input } from '@angular/core'; +import { WorkItem } from '../todo-list-page/todo-list.service'; + +@Component({ + selector: 'app-todo-item', + templateUrl: './todo-item.component.html', + styleUrls: ['./todo-item.component.css', '../todo-list-page/todo-list-color-block.css'] +}) +export class TodoItemComponent { + + @Input() item: WorkItem; + + +} |