@maherunlocker/custom-react-table
Version:
dynamic table based on react table v7
16 lines • 526 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const react_toastify_1 = require("react-toastify");
function ErrorToast(message) {
react_toastify_1.toast.error(message, {
className: 'error-toast',
position: react_toastify_1.toast.POSITION.TOP_CENTER,
autoClose: 10000,
theme: 'colored',
closeOnClick: true,
pauseOnHover: true,
draggable: true,
});
}
exports.default = ErrorToast;
//# sourceMappingURL=ErrorToast.js.map