synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
27 lines (26 loc) • 621 B
JavaScript
import { jsx as e } from "react/jsx-runtime";
import { ConfirmationDialog as s } from "../ConfirmationDialog/ConfirmationDialog.js";
function l(o) {
const {
title: t = "Close without saving?",
content: r = "Are you sure you want to close the editor without saving your changes?",
confirmButtonProps: i = {
children: "Close without saving",
color: "error"
},
...n
} = o;
return /* @__PURE__ */ e(
s,
{
title: t,
content: r,
confirmButtonProps: i,
...n
}
);
}
export {
l as default
};
//# sourceMappingURL=ConfirmCloseWithoutSavingDialog.js.map