import { Component, OnInit, Input } from '@angular/core';

@Component({
  selector: 'app-data-list',
  templateUrl: './data-list.component.html',
  styleUrls: ['./data-list.component.scss']
})
export class DataListComponent implements OnInit {
  @Input() dataObj;

  constructor() { }

  ngOnInit() {
    console.log("dataObj", this.dataObj);
  }

}
