"use client";
import { Switch as e } from "../ui/forms/Switch.js";
import { useState as t } from "react";
import { jsx as n, jsxs as r } from "react/jsx-runtime";
//#region lib/examples/switch-demo.tsx
function i() {
	let [i, a] = t(!1);
	return /* @__PURE__ */ r("div", {
		className: "flex items-center gap-3",
		children: [/* @__PURE__ */ n(e, {
			checked: i,
			onChange: (e, t) => a(t)
		}), /* @__PURE__ */ n("span", {
			className: "text-b2 font-semibold",
			children: "Enable notifications"
		})]
	});
}
//#endregion
export { i as default };

//# sourceMappingURL=switch-demo.js.map