Repository URL to install this package:
|
Version:
0.0.15 ▾
|
import { toastMessage } from './fixture';
import { NotificationType } from './typings';
/**
* @alias ErrorContainer
*/
declare class NotificationContainer {
static debugName: string;
isVisible: boolean;
errorMessage: string;
error: NotificationType;
readonly label: string;
setError(error: NotificationType): void;
resetError(): void;
setMessage(errorMessage: string): void;
notifyFor(key: keyof typeof toastMessage): void;
}
export { NotificationContainer };
export { NotificationContainer as ErrorContainer };