systelab-components
Version:
systelab-components is a set of components that use wide accepted and adopted standard technologies like Angular and Bootstrap, as well as other popular libraries. Please read the ATTRIBUTION.md file for a complete list of dependencies.
17 lines (16 loc) • 408 B
TypeScript
export type ToastType = 'warning' | 'info' | 'success' | 'error';
export declare class ToastData {
text: string;
type: ToastType;
}
export declare enum ToastSize {
small = "small",
large = "large"
}
export interface ToastConfig {
autoWidth?: boolean;
fixedSize?: ToastSize;
showCloseButton?: boolean;
timeout: number;
}
export declare const DEFAULT_TOAST_CONFIG: ToastConfig;