Skip to content

Instantly share code, notes, and snippets.

@benhickson
Created July 1, 2020 18:26
Show Gist options
  • Save benhickson/4f85ead967d547851d6f08b81473164d to your computer and use it in GitHub Desktop.
Save benhickson/4f85ead967d547851d6f08b81473164d 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