UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

27 lines (26 loc) 621 B
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