UNPKG

taxonium-component

Version:

React component for exploring large phylogenetic trees in the browser

17 lines (16 loc) 872 B
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-BNE3gNW1.js"; import { D as m } from "./DialogContentText-CyyKmj20.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-BWa7xmK6.js.map