geoiq-frontend-ui-kit
Version:
This project is a UI kit for GeoIQ's frontend. It's built with React, TypeScript, and Vite.
16 lines (15 loc) • 1.08 kB
JavaScript
import { Typography as t } from "./index.es17.js";
import { AlertDialog as i, AlertDialogTrigger as n, AlertDialogContent as m, AlertDialogHeader as g, AlertDialogTitle as c, AlertDialogDescription as p, AlertDialogFooter as s } from "./index.es36.js";
import e from "react";
function A({
trigger: l,
headerText: r,
descriptionText: a,
footer: o
}) {
return /* @__PURE__ */ e.createElement(i, null, /* @__PURE__ */ e.createElement(n, { asChild: !0 }, l), /* @__PURE__ */ e.createElement(m, { className: "p-0 bg-light-1 rounded-xl border-neutral-1" }, /* @__PURE__ */ e.createElement(g, { className: "px-4 pt-3 " }, /* @__PURE__ */ e.createElement(c, null, /* @__PURE__ */ e.createElement(t, { variant: "h3", className: "text-light-2 " }, r)), /* @__PURE__ */ e.createElement(p, null, /* @__PURE__ */ e.createElement(t, { variant: "body1", className: "text-light-4 " }, a))), /* @__PURE__ */ e.createElement(s, { className: "px-4 py-3 rounded-b-xl bg-light-3 gap-2.5 border-t border-neutral-2" }, o)));
}
export {
A as AlertDialog
};
//# sourceMappingURL=index.es35.js.map