import { isPresent } from '@jscrpt/common';
import { MissingTypeBehavior } from './layoutComponentRenderer.types';
/**
 * Options for LayoutComponentRendererDirective
 */
export class LayoutComponentRendererDirectiveOptions {
    //######################### constructor #########################
    constructor(missingTypeBehavior) {
        //######################### public properties #########################
        /**
         * Describes what should happen if layout component type described in metadata was not found
         */
        this.missingTypeBehavior = MissingTypeBehavior.ShowNotFound;
        if (isPresent(missingTypeBehavior)) {
            this.missingTypeBehavior = missingTypeBehavior;
        }
    }
}
//# sourceMappingURL=layoutComponentRenderer.options.js.map