0.4.0 • Published 3 years ago
micro-toast v0.4.0
micro-toast
Usage
import { toast } from 'micro-toast';
toast('Hello, <strong>there</strong>!');
Typings
function toast(text: string, _config?: IConfig): void;
interface IConfig {
duration?: number,
classes?: string[],
index?: string | number
};
CSS
.toast-container {}
.toast {}
.toast__dismiss {}
.--appear {}
.--remove {}