|
|
@@ -1,15 +1,20 @@ |
|
|
|
import { Component, OnInit } from '@angular/core'; |
|
|
|
import { Component, Input, OnInit } from '@angular/core'; |
|
|
|
|
|
|
|
@Component({ |
|
|
|
selector: 'app-download-button', |
|
|
|
templateUrl: './download-button.component.html', |
|
|
|
styleUrls: ['./download-button.component.scss'] |
|
|
|
selector: 'app-download-button', |
|
|
|
templateUrl: './download-button.component.html', |
|
|
|
styleUrls: ['./download-button.component.scss'] |
|
|
|
}) |
|
|
|
export class DownloadButtonComponent implements OnInit { |
|
|
|
@Input() fileDetails: { |
|
|
|
name: string, |
|
|
|
size: string, |
|
|
|
extension: string, |
|
|
|
} | undefined = undefined; |
|
|
|
|
|
|
|
constructor() { } |
|
|
|
constructor() { } |
|
|
|
|
|
|
|
ngOnInit(): void { |
|
|
|
} |
|
|
|
ngOnInit(): void { |
|
|
|
} |
|
|
|
|
|
|
|
} |