ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
32 lines (31 loc) • 1.21 kB
TypeScript
/**
* @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 { InjectionToken } from '@angular/core';
import { NzMessageConfigLegacy } from 'ng-zorro-antd/message';
/**
* @deprecated This interface would has been moved to `ng-zorro-antd/core`. Please migrate to that.
*/
export interface NzNotificationConfigLegacy extends NzMessageConfigLegacy {
nzTop?: string | number;
nzBottom?: string | number;
nzPlacement?: 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight' | string;
}
export declare const NZ_NOTIFICATION_DEFAULT_CONFIG: InjectionToken<NzNotificationConfigLegacy>;
export declare const NZ_NOTIFICATION_CONFIG: InjectionToken<NzNotificationConfigLegacy>;
export declare const NZ_NOTIFICATION_DEFAULT_CONFIG_PROVIDER: {
provide: InjectionToken<NzNotificationConfigLegacy>;
useValue: {
nzTop: string;
nzBottom: string;
nzPlacement: string;
nzDuration: number;
nzMaxStack: number;
nzPauseOnHover: boolean;
nzAnimate: boolean;
};
};