"use client";
import { Colors as e } from "../ui/helpers/colors/colors.js";
import { AdvancedToast as t } from "../ui/AdvancedToast.js";
import { n, r, t as i } from "../chunks/dist.js";
import { getHotToastConfig as a } from "../ui/BasicToast.config.js";
import "../ui/AdvancedToast.config.js";
import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
//#region lib/examples/advanced-toast-no-dismiss-demo.tsx
function l() {
	let { handlers: l } = r(), u = () => {
		n.custom((r) => /* @__PURE__ */ s(t, {
			title: "Important Notice",
			body: "This notification will not auto-dismiss",
			icon: "Trident",
			isVisible: r.visible,
			labels: {
				close: "Close",
				details: "Details"
			},
			onClose: () => n.dismiss(r.id),
			accentColor: e.orange,
			duration: !1,
			toastId: r.id,
			updateHeight: l.updateHeight
		}), { duration: Infinity });
	};
	return /* @__PURE__ */ c(o, { children: [/* @__PURE__ */ s(i, { ...a() }), /* @__PURE__ */ s("button", {
		onClick: u,
		children: "Show Toast"
	})] });
}
//#endregion
export { l as default };

//# sourceMappingURL=advanced-toast-no-dismiss-demo.js.map