@payfit/unity-components
Version:
14 lines (13 loc) • 384 B
JavaScript
import { jsx as e } from "react/jsx-runtime";
import { Toaster as t } from "react-hot-toast";
//#region src/components/toast/ToastManager.tsx
var n = {
error: { duration: Infinity },
success: { duration: 5e3 }
}, r = () => /* @__PURE__ */ e(t, {
position: "top-right",
gutter: 8,
toastOptions: { removeDelay: 0 }
});
//#endregion
export { n as TOAST_CONFIG, r as ToastManager };