@voiceiq/web-components
Version:
VoiceIQ Web Component library
20 lines (19 loc) • 619 B
TypeScript
import BaseSnackbar from './Snackbar.base';
declare class AvatarNotificationSnackbar {
_snackBase: BaseSnackbar;
avatarUrl: string | null;
avatarFallbackLabel: string | null;
notificationType: string | null;
avatarName: string | null;
key: any;
constructor(avatarUrl: string, avatarFallbackLabel: string, notificationType: string, avatarName: string);
/**
* Dispatch a Snackbar to the Notification tray
*/
dispatch: () => void;
/**
* Dismisses the snackbar instance
*/
dismisss: () => void;
}
export default AvatarNotificationSnackbar;