Skip to content

Instantly share code, notes, and snippets.

@Dornhoth
Created June 12, 2020 16:28
Show Gist options
  • Select an option

  • Save Dornhoth/a99afe23ff03764d4daf811f0a475b34 to your computer and use it in GitHub Desktop.

Select an option

Save Dornhoth/a99afe23ff03764d4daf811f0a475b34 to your computer and use it in GitHub Desktop.
<app-error-card></app-error-card>
<app-error-card>
Another error text
<div>
<a href="google.com">Google it</a>
</div>
</app-error-card>
<ng-content></ng-content>
import { Component } from '@angular/core';
@Component({
selector: 'app-error-card',
templateUrl: './error-card.component.html',
styleUrls: ['./error-card.component.scss']
})
export class ErrorCardComponent { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment