UNPKG

gov-gui

Version:

Gov UI Component Library Typscript Build

24 lines (23 loc) 829 B
import { GlobalProps } from '../../global/global-styles-helper'; import { AnimationProps } from '../../global/animation-helpers'; export declare class GovAvatar implements GlobalProps, AnimationProps { imgUrl: string; initials: string; hasNotification: boolean; notificationCount: number; status: 'online' | 'offline' | 'busy' | null; size: 'small' | 'medium' | 'large'; animation?: string; animationDelay?: '2s' | '3s' | '4s' | '5s'; animationSpeed?: 'slow' | 'slower' | 'fast' | 'faster'; private allClasses; watchAnimations(): void; watchAnimationsDelay(): void; watchAnimationsSpeed(): void; componentWillLoad(): void; provideClass(): void; private getFormattedInitials; private getFormattedNotificationCount; private getSizeClass; render(): any; }