UNPKG

gov-gui

Version:

Gov UI Component Library Typscript Build

24 lines (23 loc) 739 B
import { AnimationProps } from '../../global/animation-helpers'; export declare class GovToaster implements AnimationProps { message: string; variant: 'success' | 'danger' | 'warning' | 'info' | 'white'; duration: number; icon: string; visible: boolean; stackIndex: number; animation?: string; animationDelay?: '2s' | '3s' | '4s' | '5s'; animationSpeed?: 'slow' | 'slower' | 'fast' | 'faster'; private allClasses; private static activeToasts; private static toastHeight; watchAnimations(): void; watchAnimationsDelay(): void; watchAnimationsSpeed(): void; show(): Promise<void>; private hide; componentWillLoad(): void; provideClass(): void; render(): any; }