UNPKG

ng-zorro-antd

Version:

An enterprise-class UI components based on Ant Design and Angular

18 lines (17 loc) 811 B
/** * @license * Copyright Alibaba.com All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ import { ModalOptions } from './modal-types'; import { NzModalComponent } from './modal.component'; export declare function applyConfigDefaults(config: ModalOptions, defaultOptions: ModalOptions): ModalOptions; /** * Assign the params into the content component instance. * @deprecated Should use dependency injection to get the params for user * @breaking-change 10.0.0 */ export declare function setContentInstanceParams<T>(instance: T, params: Partial<T> | undefined): void; export declare function getConfigFromComponent(component: NzModalComponent): ModalOptions;