@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) • 314 B
JavaScript
import { __assign } from './_virtual/_tslib.js';
import { toast } from 'react-toastify';
import { TOASTS_ERROR_OPTIONS } from './toastsDefaultOptions.js';
function ToastError(content, options) {
return toast.error(content, __assign(__assign({}, TOASTS_ERROR_OPTIONS), options || {}));
}
export { ToastError };