micro-toast
v0.4.0
Published
## Usage
Downloads
53
Readme
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 {}