mirror of
https://github.com/a-mayb3/KanbanCloneAngular.git
synced 2026-03-21 18:05:38 +01:00
Created basic task item component for project-detail
This commit is contained in:
parent
c5b21f166d
commit
ddb9aa0b32
3 changed files with 78 additions and 0 deletions
14
src/app/components/task-item/task-item.component.ts
Normal file
14
src/app/components/task-item/task-item.component.ts
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import { Component, Input } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { Task } from '../../models/tasks.models';
|
||||
|
||||
@Component({
|
||||
selector: 'app-task-item',
|
||||
standalone: true,
|
||||
imports: [CommonModule],
|
||||
templateUrl: './task-item.component.html',
|
||||
styleUrl: './task-item.component.css',
|
||||
})
|
||||
export class TaskItemComponent {
|
||||
@Input({ required: true }) task!: Task;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue