taxonium-component
Version:
React component for exploring large phylogenetic trees in the browser
17 lines (16 loc) • 872 B
JavaScript
import { jsxs as i, jsx as o } from "react/jsx-runtime";
import { o as s, a as d, D, d as u, B as r } from "./JBrowsePanel-uJIA-L6s.js";
import { D as m } from "./DialogContentText-CYI22CWW.js";
const h = s(function({ deleteDialogDetails: c, session: t, handleClose: n }) {
const { connectionConf: l, name: a } = c;
return i(d.Dialog, { open: !0, title: `Delete connection "${a}"`, onClose: n, children: [o(D, { children: o(m, { children: "Are you sure you want to delete this connection?" }) }), i(u, { children: [o(r, { onClick: () => {
n();
}, color: "primary", children: "Cancel" }), o(r, { variant: "contained", color: "primary", onClick: () => {
var e;
(e = t.deleteConnection) === null || e === void 0 || e.call(t, l), n();
}, children: "OK" })] })] });
});
export {
h as default
};
//# sourceMappingURL=DeleteConnectionDialog-6OFHNCc4.js.map