noydb/oworms-ui

View on GitHub
src/app/component/common/error/placeholder.component.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { Component, Input } from '@angular/core';

import { ComponentState } from '../../../model/component-state.enum';

@Component({
    selector: 'ow-placeholder',
    templateUrl: './placeholder.component.html',
    styleUrls: ['./placeholder.component.scss']
})
export class PlaceholderComponent {

    @Input()
    state: ComponentState;

    @Input()
    errorMessage: string;

    readonly ComponentState = ComponentState;
}