taxonium-component
Version:
React component for exploring large phylogenetic trees in the browser
18 lines (17 loc) • 867 B
JavaScript
import { jsxs as o, jsx as r } from "react/jsx-runtime";
import { a, D as s, T as n, d as c, B as t } from "./JBrowsePanel-uJIA-L6s.js";
function h({ onClose: e, plugin: i }) {
return o(a.Dialog, { open: !0, title: `Remove ${i}`, onClose: () => {
e();
}, children: [o(s, { children: [o(n, { children: ["Please confirm that you want to remove ", i, "."] }), r(n, { color: "error", children: "Note: if any resources in this session still use this plugin, it may cause your session to crash" })] }), o(c, { children: [r(t, { variant: "contained", color: "primary", onClick: () => {
window.setTimeout(() => {
e(i);
}, 500);
}, children: "Confirm" }), r(t, { variant: "contained", color: "secondary", onClick: () => {
e();
}, children: "Cancel" })] })] });
}
export {
h as default
};
//# sourceMappingURL=DeletePluginDialog-Dfk7EB60.js.map