- @if (type() === CardType.TEACHER) {
-
![]()
- }
- @if (type() === CardType.STUDENT) {
-
![]()
- }
-
+
- @for (item of list(); track item) {
-
- }
+
+
+
`,
- imports: [ListItemComponent, NgOptimizedImage],
+ imports: [ListItemComponent, NgOptimizedImage, CommonModule],
})
export class CardComponent {
- private teacherStore = inject(TeacherStore);
- private studentStore = inject(StudentStore);
+ @Output() add = new EventEmitter