Repository URL to install this package:
|
Version:
0.0.3 ▾
|
import { toastMessage } from './fixture';
export interface NotificationType {
errorMessage?: string;
}
/**
* @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 };