"use client";
import { n as e, t } from "../chunks/dist.js";
import { getHotToastConfig as n } from "../ui/BasicToast.config.js";
import { BasicToast as r } from "../ui/BasicToast.js";
import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
//#region lib/examples/basic-toast-demo.tsx
function s() {
	let s = () => {
		e.custom((t) => /* @__PURE__ */ a(r, {
			title: "Get 10% off your first order",
			incentive: "Click here",
			href: "#",
			theme: "dark",
			isVisible: t.visible,
			labels: { close: "Close" },
			onClose: () => e.dismiss(t.id),
			children: "Sign up for our newsletter and get 10% off your first order"
		}), { duration: 1e4 });
	};
	return /* @__PURE__ */ o(i, { children: [/* @__PURE__ */ a(t, { ...n() }), /* @__PURE__ */ a("button", {
		onClick: s,
		children: "Show Toast"
	})] });
}
//#endregion
export { s as default };

//# sourceMappingURL=basic-toast-demo.js.map