mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 18:14:17 +00:00
added error component and coverage for new components
This commit is contained in:
12
src/app/shared/error/error.component.ts
Normal file
12
src/app/shared/error/error.component.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { Component, Input } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'ds-error',
|
||||
styleUrls: ['./error.component.scss'],
|
||||
templateUrl: './error.component.html'
|
||||
})
|
||||
export class ErrorComponent {
|
||||
|
||||
@Input() message = 'Error...';
|
||||
|
||||
}
|
Reference in New Issue
Block a user