/**
 * @fileoverview added by tsickle
 * Generated from: lib/widgets/entry-components/modal/components/header/header.component.ts
 * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
import { Component, Input } from '@angular/core';
import { ModalController } from '@ionic/angular';
var HeaderComponent = /** @class */ (function () {
    function HeaderComponent(modalController) {
        this.modalController = modalController;
    }
    /**
     * @return {?}
     */
    HeaderComponent.prototype.ngOnInit = /**
     * @return {?}
     */
    function () {
    };
    /**
     * @return {?}
     */
    HeaderComponent.prototype.close = /**
     * @return {?}
     */
    function () {
        this.modalController.dismiss();
    };
    HeaderComponent.decorators = [
        { type: Component, args: [{
                    selector: 'inc-modal-header',
                    template: "<ion-header>\r\n  <ion-toolbar class=\"inc-modal-toolbar\">\r\n    <ion-title>{{label}}</ion-title>\r\n    <ion-buttons slot=\"end\">\r\n      <ion-button (click)=\"close()\" id=\"close-button\" class=\"inc-modal-toolbar-close\">\r\n        <ion-icon slot=\"icon-only\" name=\"close\"></ion-icon>\r\n      </ion-button>\r\n    </ion-buttons>\r\n  </ion-toolbar>\r\n</ion-header>",
                    styles: ["ion-toolbar{border:0 solid silver;border-bottom-width:1px}"]
                }] }
    ];
    /** @nocollapse */
    HeaderComponent.ctorParameters = function () { return [
        { type: ModalController }
    ]; };
    HeaderComponent.propDecorators = {
        label: [{ type: Input }]
    };
    return HeaderComponent;
}());
export { HeaderComponent };
if (false) {
    /** @type {?} */
    HeaderComponent.prototype.label;
    /**
     * @type {?}
     * @private
     */
    HeaderComponent.prototype.modalController;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVhZGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BpbmNsb3VkZWQvaW9uaWM0LWluY2xvdWRlZC1saWIvIiwic291cmNlcyI6WyJsaWIvd2lkZ2V0cy9lbnRyeS1jb21wb25lbnRzL21vZGFsL2NvbXBvbmVudHMvaGV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