import { ChangeDetectionStrategy, Component, Input, OnInit } from '@angular/core'; import { Observable } from 'rxjs'; @Component({ selector: 'app-nodes-list', templateUrl: './nodes-list.component.html', styleUrls: ['./nodes-list.component.scss'], changeDetection: ChangeDetectionStrategy.OnPush, }) export class NodesListComponent implements OnInit { @Input() nodes$: Observable; constructor() { } ngOnInit(): void { } }