Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/packages / core / notifications / NotificationContainer.d.ts
Size: Mime:
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 };