Skip to content

Instantly share code, notes, and snippets.

@bobbyg603
Last active May 11, 2022 20:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bobbyg603/7ec53c330295d925f75f8ef923ab97df to your computer and use it in GitHub Desktop.
Save bobbyg603/7ec53c330295d925f75f8ef923ab97df to your computer and use it in GitHub Desktop.
File Uploads with Angular and Express
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