Skip to content

Instantly share code, notes, and snippets.

@benhickson
Created July 1, 2020 18: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 benhickson/3241e066829f8e9a938cfa2369abe590 to your computer and use it in GitHub Desktop.
Save benhickson/3241e066829f8e9a938cfa2369abe590 to your computer and use it in GitHub Desktop.
import { Component, OnInit, Input } from '@angular/core';
@Component({
selector: 'app-image',
templateUrl: './image.component.html',
styleUrls: ['./image.component.scss']
})
export class ImageComponent implements OnInit {
@Input() imageUrl: string;
@Input() domClass: string;
constructor() { }
ngOnInit(): void {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment