src/app/modules/dashboard/components/report-summary/report-summary.component.ts
Properties |
createdOn |
createdOn:
|
Type : string
|
label |
label:
|
Type : string
|
text |
text:
|
Type : Array<string>
|
import { ResourceService } from '@sunbird/shared';
import { Component, OnInit, Input } from '@angular/core';
import { ReportService } from '../../services';
interface ReportSummary {
label: string;
text: Array<string>;
createdOn: string;
}
@Component({
selector: 'app-report-summary',
templateUrl: './report-summary.component.html',
styleUrls: ['./report-summary.component.scss']
})
export class ReportSummaryComponent implements OnInit {
@Input() inputData: Array<ReportSummary>;
constructor(public reportService: ReportService, public resourceService: ResourceService) { }
ngOnInit() {
}
}