@lidofinance/toast
Version:
React component for Lido Finance projects based on React-Toastify (https://github.com/fkhadra/react-toastify). Part of [Lido UI Components](https://github.com/lidofinance/ui/#readme)
10 lines (7 loc) • 316 B
JavaScript
import { __assign } from './_virtual/_tslib.js';
import { toast } from 'react-toastify';
import { TOASTS_DEFAULT_OPTIONS } from './toastsDefaultOptions.js';
function ToastDefault(content, options) {
return toast(content, __assign(__assign({}, TOASTS_DEFAULT_OPTIONS), options || {}));
}
export { ToastDefault };