@hyahfoufi/ng-snotify
Version:
Angular 2+ alternative notifications center
24 lines (23 loc) • 433 B
TypeScript
import { SnotifyToastConfig } from './snotify-toast-config.interface';
import { SafeHtml } from '@angular/platform-browser';
/**
* Snotify toast params
*/
export interface Snotify {
/**
* Toast Title
*/
title?: string;
/**
* Toast message
*/
body?: string;
/**
* Config object
*/
config?: SnotifyToastConfig;
/**
* Html content
*/
html?: string | SafeHtml;
}