clean-toasts
v1.0.2
Published
Lightweight toast library in pure JS
Maintainers
Readme
🍞 clean-toasts
A lightweight pure JavaScript toast library with no dependencies.
📦 Installation
npm install clean-toasts🚀 Usage
import { Notify } from 'clean-toasts';
import 'clean-toasts/dist/toast.css';
Notify.success('Success');
Notify.error('Error');
Notify.warning('Warning');
Notify.info('Info');⚙️ Settings
import { Notify } from 'clean-toasts';
Notify.defaultOptions.duration = 5000;✅ Supported Types
successerrorwarninginfo
