/**
 * @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';
export class HeaderComponent {
    /**
     * @param {?} modalController
     */
    constructor(modalController) {
        this.modalController = modalController;
    }
    /**
     * @return {?}
     */
    ngOnInit() {
    }
    /**
     * @return {?}
     */
    close() {
        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 = () => [
    { type: ModalController }
];
HeaderComponent.propDecorators = {
    label: [{ type: Input }]
};
if (false) {
    /** @type {?} */
    HeaderComponent.prototype.label;
    /**
     * @type {?}
     * @private
     */
    HeaderComponent.prototype.modalController;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVhZGVyLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BpbmNsb3VkZWQvaW9uaWM0LWluY2xvdWRlZC1saWIvIiwic291cmNlcyI6WyJsaWIvd2lkZ2V0cy9lbnRyeS1jb21wb25lbnRzL21vZGFsL2NvbXBvbmVudHMvaGVhZGVyL2hlYWRlci5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxPQUFPLEVBQUUsU0FB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