Last active
May 11, 2022 20:35
-
-
Save bobbyg603/7ec53c330295d925f75f8ef923ab97df to your computer and use it in GitHub Desktop.
File Uploads with Angular and Express
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Component, Input } from '@angular/core'; | |
import { FilesTableEntry } from './files-table-entry'; | |
@Component({ | |
selector: 'app-files', | |
templateUrl: './files.component.html', | |
styleUrls: ['./files.component.scss'] | |
}) | |
export class FilesComponent { | |
@Input() files: FilesTableEntry[] | null = [ | |
{ | |
url: '#', | |
name: 'tiger.png', | |
uploaded: new Date(), | |
size: 123456789 | |
} | |
]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment