aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/src/app/todo/todo-item/todo-item.component.ts
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-03-06 21:29:36 +0800
committercrupest <crupest@outlook.com>2019-03-06 21:29:36 +0800
commit61844a348b2934321567b1457e6d05f318fc8b7e (patch)
treeafc70011a886cc325e7d742c05aba2a9982bcf5d /Timeline/ClientApp/src/app/todo/todo-item/todo-item.component.ts
parent1cf7cad30778e12fa0be22bf3b2acf5f75c6246a (diff)
downloadtimeline-61844a348b2934321567b1457e6d05f318fc8b7e.tar.gz
timeline-61844a348b2934321567b1457e6d05f318fc8b7e.tar.bz2
timeline-61844a348b2934321567b1457e6d05f318fc8b7e.zip
Reorganize file structure.
Diffstat (limited to 'Timeline/ClientApp/src/app/todo/todo-item/todo-item.component.ts')
-rw-r--r--Timeline/ClientApp/src/app/todo/todo-item/todo-item.component.ts13
1 files changed, 13 insertions, 0 deletions
diff --git a/Timeline/ClientApp/src/app/todo/todo-item/todo-item.component.ts b/Timeline/ClientApp/src/app/todo/todo-item/todo-item.component.ts
new file mode 100644
index 00000000..2ea6997a
--- /dev/null
+++ b/Timeline/ClientApp/src/app/todo/todo-item/todo-item.component.ts
@@ -0,0 +1,13 @@
+import { Component, Input } from '@angular/core';
+import { TodoItem } from '../todo-item';
+
+@Component({
+ selector: 'app-todo-item',
+ templateUrl: './todo-item.component.html',
+ styleUrls: ['./todo-item.component.css', '../todo-list-color-block.css']
+})
+export class TodoItemComponent {
+
+ @Input() item: TodoItem;
+
+}